File: 02-add-ldflags.patch

package info (click to toggle)
dupd 1.7.3-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 12,688 kB
  • sloc: ansic: 8,381; sh: 879; makefile: 121; perl: 58
file content (14 lines) | stat: -rw-r--r-- 374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Add LDFLAGS in Makefile.
Author: Ermakov Alexander <ermakovav@altgtu.ru>

--- dupd-1.7.3.orig/Makefile
+++ dupd-1.7.3/Makefile
@@ -113,7 +113,7 @@ endif
 
 
 dupd: src/optgen.c src/optgen.h $(OBJS)
-	$(CCC) $(CFLAGS) $(OBJS) $(LIB) \
+	$(CCC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIB) \
 	    -lsqlite3 -lcrypto -lpthread -lm -o dupd
 
 $(BUILD)/%.o: src/%.c src/%.h