summaryrefslogtreecommitdiff
path: root/src/mysql_rpath.pl
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-21 17:56:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-21 17:56:07 +0000
commit221934729eba613b1a845771a0a6aabf3eb6390c (patch)
treefb3ee8049a157ef35d9bcb54103e81e4f7c27f2b /src/mysql_rpath.pl
parent2010b514a638f43d515e9539ef21015f733ec279 (diff)
Change includes, use --libs_r rather than mysql_config --libs, we want re-enterant libs for pthreads
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4477 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mysql_rpath.pl')
-rw-r--r--src/mysql_rpath.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql_rpath.pl b/src/mysql_rpath.pl
index 33da4f353..befa45a82 100644
--- a/src/mysql_rpath.pl
+++ b/src/mysql_rpath.pl
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-$data = `mysql_config --libs`;
+$data = `mysql_config --libs_r`;
$data =~ /-L(\S+)\s/;
$libpath = $1;
print "-Wl,--rpath -Wl,$libpath";