diff options
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | src/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -32,4 +32,4 @@ dmalloc = -DWITH_DMALLOC CFLAGS += ${xinerama} -DPREFIX=\"${PREFIX}\" \ -DPACKAGE=\"${PACKAGE}\" -DVERSION=\"${VERSION}\" -LDFLAGS += -lm -lpng -lX11 -lImlib2 -lgiblib ${xinerama_ld} +LDLIBS += -lm -lpng -lX11 -lImlib2 -lgiblib ${xinerama_ld} diff --git a/src/Makefile b/src/Makefile index a5ea9b0..ed1ecc8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,7 +4,7 @@ TARGETS = ${shell echo *.c} OBJECTS = ${TARGETS:.c=.o} feh: deps.mk ${OBJECTS} - ${CC} ${CFLAGS} -o $@ ${OBJECTS} ${LDFLAGS} + ${CC} ${LDFLAGS} ${CFLAGS} -o $@ ${OBJECTS} ${LDLIBS} deps.mk: ${TARGETS} ${CC} -MM ${TARGETS} > $@ |