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
|