1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/libraries/babl/fix-darwin.patch

17 lines
360 B
Diff

diff --git a/babl/meson.build b/babl/meson.build
index b551c9a..f452435 100644
--- a/babl/meson.build
+++ b/babl/meson.build
@@ -24,9 +24,9 @@
]
# Linker arguments
-babl_link_args = [
+babl_link_args = cc.get_supported_link_arguments([
'-Wl,--version-script,' + version_script,
-]
+])
if platform_win32
babl_link_args += '-Wl,--no-undefined'
endif