blob: 4699b7f87e9a25a99a1af9a473f077463483002c (
plain)
1
2
3
4
5
6
7
|
#!/usr/bin/perl
# Usage: pcre-config [--prefix] [--exec-prefix] [--version] [--libs] [--libs-posix] [--cflags] [--cflags-posix]
$data = `pcre-config --libs`;
$data =~ /-L(\S+)\s/;
$libpath = $1;
print "-Wl,--rpath -Wl,$libpath";
|