[hackers] [libixp] Fixed linking error when older version is installed. Reported by: Bart Trojanowsk

From: Kris Maglione <jg_AT_suckless.org>
Date: Sat Dec 15 04:19:03 2007

changeset: 84:cddafcd3aa2c
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Fri Dec 14 22:15:11 2007 -0500
summary: Fixed linking error when older version is installed. Reported by: Bart Trojanowsk

diff -r 59041f6ff267 -r cddafcd3aa2c cmd/Makefile
--- a/cmd/Makefile Wed Nov 28 18:26:09 2007 -0500
+++ b/cmd/Makefile Fri Dec 14 22:15:11 2007 -0500
@@ -2,7 +2,7 @@ include ${ROOT}/mk/hdr.mk
 include ${ROOT}/mk/hdr.mk
 include ${ROOT}/mk/ixp.mk
 
-LDFLAGS += -L${ROOT}/lib -lixp
+LDLIBS = -L${ROOT}/lib -lixp
 TARG = ixpc
 LIB = ${ROOT}/lib/libixp.a
 
diff -r 59041f6ff267 -r cddafcd3aa2c config.mk
--- a/config.mk Wed Nov 28 18:26:09 2007 -0500
+++ b/config.mk Fri Dec 14 22:15:11 2007 -0500
@@ -26,7 +26,7 @@ MKDEP = cpp -M
 # Flags
 include ${ROOT}/mk/gcc.mk
 CFLAGS = -g ${INCS} -DIXPlint -DVERSION=\"${VERSION}\"
-LDFLAGS = -g ${LIBS}
+LDFLAGS = -g ${LDLIBS} ${LIBS}
 
 # Compiler
 CC = cc -c
Received on Sat Dec 15 2007 - 04:19:03 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:58:54 UTC