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