commit 92c1f491147d302b3eb7bf8ea03575b9fe5dead3
parent b9fdea72bddc8e60fb10c458574418616c4d004d
Author: Kris Maglione <jg@suckless.org>
Date: Fri, 14 Dec 2007 22:15:11 -0500
Fixed linking error when older version is installed. Reported by: Bart Trojanowsk
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/Makefile b/cmd/Makefile
@@ -2,7 +2,7 @@ ROOT=..
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 --git a/config.mk b/config.mk
@@ -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