Package: asciijump / 1.0.2~beta-7.1

ld-as-needed.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- asciijump-1.0.2~beta.orig/Makefile.in
+++ asciijump-1.0.2~beta/Makefile.in
@@ -55,7 +55,6 @@ DEFINES		= -DVERSION=\"${VERSION}\" -DPA
 ALL_CFLAGS	= ${INCLUDES} ${DEFINES} ${CFLAGS} -g
 
 LIBS		= @LIBS@
-ALL_LDFLAGS	= ${LIBS} ${LDFLAGS}
 
 # colors 
 color=""
@@ -112,7 +111,7 @@ ac_info:
 	@echo -n "${color}creating client ${color_light}{${color_reset}"
 	
 ${ac_name}: ac_info ${other_obj} ${ac_obj}
-	@${CC} ${ALL_LDFLAGS} -o $@ ${ac_obj} ${other_obj}
+	@${CC} ${LDFLAGS} -o $@ ${ac_obj} ${other_obj} ${LIBS}
 	@echo "  ${color_light}} .. ${color}ok${color_reset}"
 	@echo
 
@@ -121,7 +120,7 @@ as_info:
 	@echo -n "${color}creating server ${color_light}{${color_reset}"
 	
 ${as_name}: as_info ${other_obj} ${as_obj}
-	@${CC} ${ALL_LDFLAGS} -o $@ ${as_obj} ${other_obj}
+	@${CC} ${LDFLAGS} -o $@ ${as_obj} ${other_obj} ${LIBS}
 	@echo "  ${color_light}} .. ${color}ok${color_reset}"
 
 install: all