diff options
author | Roy Marples <roy@marples.name> | 2008-01-11 23:40:22 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-11 23:40:22 +0000 |
commit | d4404ea9c7a5f37e148d22dbe05d804f2df93b11 (patch) | |
tree | 8ffa13fc17ccb32f344d9fbef9b982b22d35522a /mk/lib.mk | |
parent | 0ec43dfe47c462fdf268635d30627d80c8b0b5de (diff) |
Ensure we link against libraries in /lib instead of anywhere else and always use the linker in /libexec instead of anywhere else.
Diffstat (limited to 'mk/lib.mk')
-rw-r--r-- | mk/lib.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 $@ |