Skip to content

Commit c5e7931

Browse files
committed
Revert "makefile: add LDLIBS to handle -liconv correctly"
This reverts commit 1a4dc39. The commit breaks compilation on sabotage.
1 parent e487f80 commit c5e7931

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ ALL_M4S=$(sort $(wildcard m4/*.m4))
3333
ALL_DATA=$(sort $(wildcard data/*))
3434

3535
CFLAGS=-O0 -fPIC
36-
LDLIBS=-liconv
3736

3837
AR ?= $(CROSS_COMPILE)ar
3938
RANLIB ?= $(CROSS_COMPILE)ranlib
@@ -63,10 +62,10 @@ libintl.a: $(LIBOBJS)
6362
$(RANLIB) $@
6463

6564
msgmerge: $(OBJS)
66-
$(CC) $(LDFLAGS) -static -o $@ src/msgmerge.o $(PARSEROBJS) $(LDLIBS)
65+
$(CC) $(LDFLAGS) -static -o $@ src/msgmerge.o $(PARSEROBJS)
6766

6867
msgfmt: $(OBJS)
69-
$(CC) $(LDFLAGS) -static -o $@ src/msgfmt.o $(PARSEROBJS) $(LDLIBS)
68+
$(CC) $(LDFLAGS) -static -o $@ src/msgfmt.o $(PARSEROBJS)
7069

7170
xgettext:
7271
cp src/xgettext.sh ./xgettext

0 commit comments

Comments
 (0)