From 64439ef2d0007a8ca138e24141e5c8c135b46e6a Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Wed, 19 Feb 2020 04:17:45 -0500 Subject: make: gtk: Reference X11BASE when linking GTK GUI on NetBSD. --- gtk/module.defs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gtk/module.defs') 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) -- cgit v1.2.3