diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mysql_rpath.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mysql_rpath.pl b/src/mysql_rpath.pl new file mode 100644 index 000000000..33da4f353 --- /dev/null +++ b/src/mysql_rpath.pl @@ -0,0 +1,6 @@ +#!/usr/bin/perl +$data = `mysql_config --libs`; +$data =~ /-L(\S+)\s/; +$libpath = $1; +print "-Wl,--rpath -Wl,$libpath"; + |