--- a/gtk/makefile
+++ b/gtk/makefile
@@ -89,6 +89,9 @@
 ifeq ($(UNAME), Linux)
 LIBDL:=-ldl
 endif
+ifneq (,$(findstring GNU,$(UNAME)))
+LIBDL:=-ldl
+endif
 ifeq ($(UNAME), Darwin)
 CXXTFLAGS:=$(CXXTFLAGS) -Dunix
 endif