From 221934729eba613b1a845771a0a6aabf3eb6390c Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 21 Jul 2006 17:56:07 +0000 Subject: 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 --- src/mysql_rpath.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mysql_rpath.pl') 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"; -- cgit v1.2.3