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