diff options
| author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-11 17:49:23 +0200 | 
|---|---|---|
| committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-11 17:49:23 +0200 | 
| commit | c74e415e9246382630035d7a85645a6b93e1efae (patch) | |
| tree | bbe6463fdf612554b5837116099994c3f11a02c1 | |
| parent | c038b6a37d65ebf23b34e669414cbb959fc7b2a4 (diff) | |
Gentoo patch: Use LDLIBS for better custom LDFLAGS support
| -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} > $@ | 
