summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-03-15 16:49:49 +0000
committerRobin Watts <robin.watts@artifex.com>2016-03-15 17:03:59 +0000
commit7fbf0537b1b8dc3cd678d9f88c79200126071b77 (patch)
tree24dfc7dedeb6288c3456ff45bae558b44e8af3da /Makerules
parente7760b5897c55b1c533515495f091c70f8dc4c5b (diff)
downloadmupdf-7fbf0537b1b8dc3cd678d9f88c79200126071b77.tar.xz
Memento: Fix specification of -ldl in memento builds.
Use LIBS, not LDFLAGS to ensure that the lib appears at the end of the link line.
Diffstat (limited to 'Makerules')
-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)')