mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
17 lines
360 B
Diff
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
|