summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2014-09-27 17:07:31 -0700
committerDan Nicholson <dbn.lists@gmail.com>2016-01-29 14:44:34 -0800
commit8d19fad1a01ac681a3004bb2777ab71b3dcd4eee (patch)
tree1bc0feee54517ff3f9c42d666c81050336c4b255 /check
parentae0a8b1ad5e40f68fc09ffedac215e038a50f070 (diff)
downloadpkg-config-8d19fad1a01ac681a3004bb2777ab71b3dcd4eee.tar.gz
Also match -Wl,-framework for OSX framework
Freedesktop #1278 (https://bugs.freedesktop.org/show_bug.cgi?id=1278)
Diffstat (limited to 'check')
-rwxr-xr-xcheck/check-special-flags2
-rw-r--r--check/special-flags.pc2
2 files changed, 2 insertions, 2 deletions
diff --git a/check/check-special-flags b/check/check-special-flags
index c0a9ebb..9679458 100755
--- a/check/check-special-flags
+++ b/check/check-special-flags
@@ -7,5 +7,5 @@ set -e
RESULT="-isystem /system1 -idirafter /after1 -idirafter /after2 -isystem /system2 -I/foo -I/bar"
run_test --cflags special-flags
-RESULT="-framework Foo -lsimple -framework Bar"
+RESULT="-framework Foo -lsimple -framework Bar -Wl,-framework -Wl,Baz"
run_test --libs special-flags
diff --git a/check/special-flags.pc b/check/special-flags.pc
index 318eab0..56e2057 100644
--- a/check/special-flags.pc
+++ b/check/special-flags.pc
@@ -7,5 +7,5 @@ Name: Special flags test
Description: Dummy pkgconfig test package for testing pkgconfig
Version: 1.0.0
Requires:
-Libs: -framework Foo -lsimple -framework Bar
+Libs: -framework Foo -lsimple -framework Bar -Wl,-framework -Wl,Baz
Cflags: -I/foo -isystem /system1 -idirafter /after1 -I/bar -idirafter /after2 -isystem /system2