aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-05-02 18:29:00 +0100
committerRoy Marples <roy@marples.name>2009-05-02 18:29:00 +0100
commite575b33047d501d96bb42679dcd709b9c3bee265 (patch)
treeac50b4e3940b516676934a61905a6f4e78dd011f /mk
parentc09e6b3e6dd39a76abd14688e295507f4e3d1f87 (diff)
We shouldn't use -L/lib
Diffstat (limited to 'mk')
-rw-r--r--mk/prog.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/prog.mk b/mk/prog.mk
index d5e0096a..33929fba 100644
--- a/mk/prog.mk
+++ b/mk/prog.mk
@@ -17,7 +17,7 @@ _DYNLINK_SH= if test "${PREFIX}" = "" && test -e /libexec/ld.elf_so; then \
fi
_DYNLINK!= ${_DYNLINK_SH}
LDFLAGS+= ${_DYNLINK}$(shell ${_DYNLINK_SH})
-LDFLAGS+= -Wl,-rpath=${PREFIX}/${LIBNAME} -L${PREFIX}/${LIBNAME}
+LDFLAGS+= -Wl,-rpath=${PREFIX}/${LIBNAME}
LDFLAGS+= ${PROGLDFLAGS}
CLEANFILES+= ${OBJS} ${PROG}