diff options
| author | 2006-06-15 13:34:33 +0000 | |
|---|---|---|
| committer | 2006-06-15 13:34:33 +0000 | |
| commit | a6a3cb49c54080a60e9ed69f557ed7aea44d14a8 (patch) | |
| tree | d9965ca255fb75dafbeb9d8874ec2f4961d67076 /src/modules/extra/m_sql.cpp | |
| parent | Helper script for mysql rpath (diff) | |
Updated to use mysql_config
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4010 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sql.cpp')
| -rw-r--r-- | src/modules/extra/m_sql.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_sql.cpp b/src/modules/extra/m_sql.cpp index e41c90b2f..8bc393346 100644 --- a/src/modules/extra/m_sql.cpp +++ b/src/modules/extra/m_sql.cpp @@ -26,8 +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 */ -/* $LinkerFlags: -L/usr/local/lib/mysql -Wl,--rpath -Wl,/usr/local/lib/mysql -L/usr/lib/mysql -Wl,--rpath -Wl,/usr/lib/mysql -lmysqlclient */ +/* $CompileFlags: `mysql_config --include` */ +/* $LinkerFlags: `mysql_config --libs` `perl ../mysql_rpath.pl` */ /** SQLConnection represents one mysql session. * Each session has its own persistent connection to the database. |
