diff options
| author | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-07-01 12:31:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-01 12:31:31 +0000 |
| commit | 2cbf7caf5c8d81e40c790d41cc3b87d30b40cc9f (patch) | |
| tree | 8a8c7a3d02f653a137a689c48c27e59009036d45 /test cases/unit | |
| parent | 76184bb6b8ca59aaf3f71e6bb328dbdbef68bf43 (diff) | |
| download | meson-2cbf7caf5c8d81e40c790d41cc3b87d30b40cc9f.tar.gz | |
Nirbheek/fix pkgconfig library dedup (#3813)
* Add a test case for bad de-dup of -framework args
https://github.com/mesonbuild/meson/issues/3800
* pkgconfig: Don't naively de-dup all arguments
Honestly don't know what I was smoking. Of course the `Libs:` field in
a pkg-config file can have arguments other than -l and -L
Closes https://github.com/mesonbuild/meson/issues/3800
* pkgconfig module: Fix needlessly aggressive de-dup
Diffstat (limited to 'test cases/unit')
| -rw-r--r-- | test cases/unit/33 external, internal library rpath/external library/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/unit/33 external, internal library rpath/external library/meson.build b/test cases/unit/33 external, internal library rpath/external library/meson.build index 0e9f443f4..6dcc97e79 100644 --- a/test cases/unit/33 external, internal library rpath/external library/meson.build +++ b/test cases/unit/33 external, internal library rpath/external library/meson.build @@ -5,5 +5,5 @@ l = shared_library('faa_pkg', 'faa.c', install: true) pkg = import('pkgconfig') pkg.generate(name: 'faa_pkg', - libraries: l, + libraries: [l, '-framework', 'CoreFoundation', '-framework', 'CoreMedia'], description: 'FAA, a pkg-config test library') |
