aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-04-01 17:32:12 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-04-01 17:32:12 -0500
commit67640d2d97623cb3ddc6753a719eadd790c4fec9 (patch)
tree9f2c6c95809b6d04c3b321fb5ab654bb4c469b23
parent8a45d5e24e1c5ee40486d0baaf946edd92913ae4 (diff)
remove hard coded directory paths from link flags
Currently, we do not see a reason for these, and it causes an issue for cross compilation. X-Gentoo-Bug: 361465 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=361465
-rw-r--r--mk/lib.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/mk/lib.mk b/mk/lib.mk
index a5682dd9..280cf969 100644
--- a/mk/lib.mk
+++ b/mk/lib.mk
@@ -31,8 +31,6 @@ lib${LIB}.a: ${OBJS} ${STATICOBJS}
${SHLIB_NAME}: ${VERSION_MAP}
LDFLAGS+= -Wl,--version-script=${VERSION_MAP}
-# We need to ensure we use libraries in /lib
-LDFLAGS+= -L/${LIBNAME} -Wl,-rpath=/${LIBNAME}
${SHLIB_NAME}: ${SOBJS}
@${ECHO} building shared library $@