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