From af27b3e9640421c8c5c01e358a89b4a797242f17 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sun, 25 Jul 2021 09:12:53 +0200 Subject: Move LDLIBS --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 674d42c..cc73718 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,6 @@ CFLAGS += -fvisibility=hidden RCCFLAGS += -I./ core/%: CFLAGS += -I./ -midimonster: LDLIBS = -ldl # Replace version string with current git-describe if possible ifneq "$(GITVERSION)" "" CFLAGS += -DMIDIMONSTER_VERSION=\"$(GITVERSION)\" @@ -56,6 +55,7 @@ backends-full: $(MAKE) -C backends full # This rule can not be the default rule because OSX the target prereqs are not exactly the build prereqs +midimonster: LDLIBS = -ldl midimonster: midimonster.c portability.h $(CORE_OBJS) $(CC) $(CFLAGS) $(LDFLAGS) $< $(CORE_OBJS) $(LDLIBS) -o $@ -- cgit v1.2.3