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:
parent
8a45d5e24e
commit
67640d2d97
@ -31,8 +31,6 @@ lib${LIB}.a: ${OBJS} ${STATICOBJS}
|
|||||||
|
|
||||||
${SHLIB_NAME}: ${VERSION_MAP}
|
${SHLIB_NAME}: ${VERSION_MAP}
|
||||||
LDFLAGS+= -Wl,--version-script=${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}
|
${SHLIB_NAME}: ${SOBJS}
|
||||||
@${ECHO} building shared library $@
|
@${ECHO} building shared library $@
|
||||||
|
Loading…
Reference in New Issue
Block a user