summaryrefslogtreecommitdiff
blob: 2e5a9b984c1128edcb722c188d2283146c0298fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: ctrlproxy-3.0.8/Makefile
===================================================================
--- ctrlproxy-3.0.8.orig/Makefile
+++ ctrlproxy-3.0.8/Makefile
@@ -103,7 +103,7 @@ dep_files = $(patsubst %.o, %.d, $(objs)
 
 linestack-cmd$(EXEEXT): src/linestack-cmd.o $(objs) $(LIBIRC)
 	@echo Linking $@
-	@$(LD) $(LIBS) -lreadline -rdynamic -o $@ $^
+	@$(LD) $(LDFLAGS) -rdynamic -o $@ $^ $(LIBS) -lreadline
 
 ctrlproxy$(EXEEXT): src/main.o $(objs) $(LIBIRC)
 	@echo Linking $@