From d651aeb61a34e047586806a3db434ac6390aad73 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 21 Dec 2005 10:36:01 +0000 Subject: Changed $CompileFlags to seperate $CompileFlags and $LinkerFlags git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2595 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_filter_pcre.cpp | 3 ++- src/modules/extra/m_sql.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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. -- cgit v1.2.3