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
This commit is contained in:
		@@ -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 $@
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user