summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2018-07-14 15:18:42 +0100
committerrofl0r <rofl0r@users.noreply.github.com>2018-07-16 04:01:29 +0100
commit6dc24593e1b91e3ce4a6f8968c5638a0e71bd822 (patch)
treea70a5c1ae13e89563bb26cfd8e174db7058f4d0f
parentc5e7931a9b110747cd84aa81775eddc24d881010 (diff)
downloadgettext-tiny-6dc24593e1b91e3ce4a6f8968c5638a0e71bd822.tar.gz
Makefile: move LDFLAGS into the proper position
if external libraries are required, they have to be added after the object files that require them.
-rw-r--r--Makefile4
1 files 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