summaryrefslogtreecommitdiff
path: root/src/mysql_rpath.pl
blob: 33da4f353409c1d451b2aaa3eb45775b4fe239a8 (plain)
1
2
3
4
5
6
#!/usr/bin/perl
$data = `mysql_config --libs`;
$data =~ /-L(\S+)\s/;
$libpath = $1;
print "-Wl,--rpath -Wl,$libpath";