diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-23 11:02:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-23 11:02:19 +0000 |
commit | 2a291c331fba316c3510b6dbaf973202bb99a49e (patch) | |
tree | a300ab77bf329f091d67ef9838d960136a6dacfc /src/modules/extra/mysql_rpath.pl | |
parent | 93daac4c02b8c04d98e09d5a58673b6225d99f90 (diff) |
Move mysql_rpath into extra
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4527 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/mysql_rpath.pl')
-rw-r--r-- | src/modules/extra/mysql_rpath.pl | 6 |
1 files changed, 6 insertions, 0 deletions
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"; + |