From d94a547367e7dbd8c31a75b4992a24e681f42433 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 15 Jun 2006 13:33:18 +0000 Subject: Helper script for rpath of mysql git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4008 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mysql_rpath.pl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/mysql_rpath.pl (limited to 'src') 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"; + -- cgit v1.2.3