Ensure we link against libraries in /lib instead of anywhere else and always use the linker in /libexec instead of anywhere else.
This commit is contained in:
@@ -25,6 +25,8 @@ 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