diff --git a/dmenubar/Makefile b/dmenubar/Makefile index d170037..8c3d904 100644 --- a/dmenubar/Makefile +++ b/dmenubar/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/dmenubar/config.mk b/dmenubar/config.mk index cc19e19..cd14ca4 100644 --- a/dmenubar/config.mk +++ b/dmenubar/config.mk @@ -22,3 +22,4 @@ LDFLAGS = ${LIBS} # compiler CC = cc +LD = ${CC}