summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index d6041d28..f9f2b06f 100644
--- a/Makerules
+++ b/Makerules
@@ -30,7 +30,7 @@ CFLAGS += -pipe -g -DMEMENTO -DDEBUG
LDFLAGS += -g -d -rdynamic
ifeq "$(HAVE_LIBDL)" "yes"
CFLAGS += -DHAVE_LIBDL
-LDFLAGS += -ldl
+LIBS += -ldl
endif
else
$(error unknown build setting: '$(build)')