From 021d5f6bc8b7d0531ac1c2679440bde56f7fb930 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sat, 14 Jul 2018 15:18:42 +0100 Subject: Makefile: move LDFLAGS into the proper position if external libraries are required, they have to be added after the object files that require them. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 927d02e..3b6ecb6 100644 --- a/Makefile +++ b/Makefile @@ -62,10 +62,10 @@ libintl.a: $(LIBOBJS) $(RANLIB) $@ msgmerge: $(OBJS) - $(CC) $(LDFLAGS) -static -o $@ src/msgmerge.o $(PARSEROBJS) + $(CC) -static -o $@ src/msgmerge.o $(PARSEROBJS) $(LDFLAGS) msgfmt: $(OBJS) - $(CC) $(LDFLAGS) -static -o $@ src/msgfmt.o $(PARSEROBJS) + $(CC) -static -o $@ src/msgfmt.o $(PARSEROBJS) $(LDFLAGS) xgettext: cp src/xgettext.sh ./xgettext -- cgit v1.2.1