summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2020-02-19 04:17:45 -0500
committerBradley Sepos <[email protected]>2020-02-19 04:17:45 -0500
commit64439ef2d0007a8ca138e24141e5c8c135b46e6a (patch)
tree4bc54aca024a4ae8a73caead9ab7c40d2b0ea0a4 /gtk
parentb1108543ef03f1a20e755c958053b4eb5cefd48f (diff)
make: gtk: Reference X11BASE when linking GTK GUI on NetBSD.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/module.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/module.defs b/gtk/module.defs
index 837a3c4fb..8d57cf578 100644
--- a/gtk/module.defs
+++ b/gtk/module.defs
@@ -6,6 +6,10 @@ GTK.build/ = $(BUILD/)gtk/
GTK.CONFIGURE.stamp = $(GTK.build/).stamp.configure
+ifeq ($(HOST.system),netbsd)
+ LDFLAGS += -Wl,-R$(X11BASE)/lib
+endif
+
###############################################################################
GTK.out += $(GTK.CONFIGURE.stamp)