From 2a291c331fba316c3510b6dbaf973202bb99a49e Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 23 Jul 2006 11:02:19 +0000 Subject: Move mysql_rpath into extra git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4527 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/mysql_rpath.pl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/modules/extra/mysql_rpath.pl (limited to 'src/modules/extra/mysql_rpath.pl') diff --git a/src/modules/extra/mysql_rpath.pl b/src/modules/extra/mysql_rpath.pl new file mode 100644 index 000000000..befa45a82 --- /dev/null +++ b/src/modules/extra/mysql_rpath.pl @@ -0,0 +1,6 @@ +#!/usr/bin/perl +$data = `mysql_config --libs_r`; +$data =~ /-L(\S+)\s/; +$libpath = $1; +print "-Wl,--rpath -Wl,$libpath"; + -- cgit v1.2.3