summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-11 17:49:23 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-11 17:49:23 +0200
commitc74e415e9246382630035d7a85645a6b93e1efae (patch)
treebbe6463fdf612554b5837116099994c3f11a02c1 /src
parentc038b6a37d65ebf23b34e669414cbb959fc7b2a4 (diff)
Gentoo patch: Use LDLIBS for better custom LDFLAGS support
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
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} > $@