summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2019-07-01 15:00:40 +0200
committerAlberto Fanjul <albertofanjul@gmail.com>2019-07-02 10:04:51 +0000
commit85c40c151031f776958eb055bb02c2fa847f4204 (patch)
tree8cd8499fcec5491257dfc1555af05cb11806f80e /plugins
parent27c2286bd9062d2c77cfc1b0eb26fb02523a50b6 (diff)
downloadglade-85c40c151031f776958eb055bb02c2fa847f4204.tar.gz
build: Do not use a system variable only for Windows
Glade is built in multiple systems and `Windows` is not the only system that needs specific commands. Change the `glade_windows` variable to hold the system value.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/meson.build b/plugins/meson.build
index c2d1328c..1a7a47eb 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -1,5 +1,5 @@
ldflags = []
-if glade_windows
+if glade_system == 'windows'
ldflags += cc.get_supported_link_arguments('-no-undefined')
endif