aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-14 08:42:23 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-14 08:42:23 +0200
commitb7f891145503257759c44f5737eabe3010eae2af (patch)
tree66002522ef31bf6ce17549c1c7ee03573012bb2a
parent35a06ccd2edd6990628a715316b88258ecc7a660 (diff)
downloaddmenu-b7f891145503257759c44f5737eabe3010eae2af.tar.gz
dmenu-b7f891145503257759c44f5737eabe3010eae2af.tar.bz2
dmenu-b7f891145503257759c44f5737eabe3010eae2af.zip
applied Sanders LD patch
-rw-r--r--Makefile3
-rw-r--r--config.mk1
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d170037..8c3d904 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,7 @@ options:
@echo "CFLAGS = ${CFLAGS}"
@echo "LDFLAGS = ${LDFLAGS}"
@echo "CC = ${CC}"
+ @echo "LD = ${LD}"
.c.o:
@echo CC $<
@@ -27,7 +28,7 @@ config.h:
dmenu: ${OBJ}
@echo LD $@
- @${CC} -o $@ ${OBJ} ${LDFLAGS}
+ @${LD} -o $@ ${OBJ} ${LDFLAGS}
@strip $@
clean:
diff --git a/config.mk b/config.mk
index cc19e19..cd14ca4 100644
--- a/config.mk
+++ b/config.mk
@@ -22,3 +22,4 @@ LDFLAGS = ${LIBS}
# compiler
CC = cc
+LD = ${CC}