From 67640d2d97623cb3ddc6753a719eadd790c4fec9 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 1 Apr 2011 17:32:12 -0500 Subject: 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 --- mk/lib.mk | 2 -- 1 file changed, 2 deletions(-) (limited to 'mk') 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 $@ -- cgit v1.2.3