summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-21 10:36:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-21 10:36:01 +0000
commitd651aeb61a34e047586806a3db434ac6390aad73 (patch)
treeb67832591f22c8eb76f1769c20478055e57258b4 /src/modules
parent86941a017cfbc9a6304c2ef597b6036b3a87493a (diff)
Changed $CompileFlags to seperate $CompileFlags and $LinkerFlags
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2595 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_filter_pcre.cpp3
-rw-r--r--src/modules/extra/m_sql.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp
index 0173b9774..c654fd1cf 100644
--- a/src/modules/extra/m_filter_pcre.cpp
+++ b/src/modules/extra/m_filter_pcre.cpp
@@ -29,7 +29,8 @@ using namespace std;
#include "helperfuncs.h"
/* $ModDesc: m_filter with regexps */
-/* $CompileFlags: -I/usr/local/include -L/usr/local/lib -lpcre */
+/* $CompileFlags: -I/usr/local/include */
+/* $LinkerFlags: -L/usr/local/lib -lpcre */
class ModuleFilterPCRE : public Module
{
diff --git a/src/modules/extra/m_sql.cpp b/src/modules/extra/m_sql.cpp
index 7038707f8..8b9f212a0 100644
--- a/src/modules/extra/m_sql.cpp
+++ b/src/modules/extra/m_sql.cpp
@@ -26,7 +26,8 @@ using namespace std;
#include "m_sql.h"
/* $ModDesc: SQL Service Provider module for all other m_sql* modules */
-/* $CompileFlags: -I/usr/local/include/mysql -I/usr/include/mysql -I/usr/local/include -I/usr/include -L/usr/local/lib/mysql -L/usr/lib/mysql -L/usr/local/lib -lmysqlclient */
+/* $CompileFlags: -I/usr/local/include/mysql -I/usr/include/mysql -I/usr/local/include -I/usr/include */
+/* $LinkerFlags: -L/usr/local/lib/mysql -Wl,--rpath -Wl,/usr/local/lib/mysql -L/usr/lib/mysql -Wl,--rpath -Wl,/usr/lib/mysql -lmysqlclient */
/** SQLConnection represents one mysql session.
* Each session has its own persistent connection to the database.