diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-07-30 10:34:27 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-07-30 10:36:27 +0200 |
commit | 84af438d8a3b52838b3bae53b8be6895b0714710 (patch) | |
tree | 6f3e8d83606d63b29d6bf409f0162152c577fa0e /mk/pkg-bottom.mk | |
parent | 5e635021b072db0bd3d30346a20faefec9c6ce94 (diff) |
remove la file mangling. packages should use pkg-config to find options for static linking
Diffstat (limited to 'mk/pkg-bottom.mk')
-rw-r--r-- | mk/pkg-bottom.mk | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk index d816167e0..d81b8915c 100644 --- a/mk/pkg-bottom.mk +++ b/mk/pkg-bottom.mk @@ -199,14 +199,11 @@ endif ifeq (,$(filter nostaging,${PKG_OPTS})) @-cd ${WRKINST}; \ find usr ! -type d 2>/dev/null | \ - grep -E -v -e '^usr/share' -e '^usr/src' -e '^usr/doc' -e '^usr/local' -e '^usr/man' -e '^usr/info' -e '^usr/lib/libc.so' -e '^usr/bin/[a-z0-9-]+-config*' -e '^/usr/lib/libpthread_nonshared.a' | \ + grep -E -v -e '^usr/share' -e '^usr/src' -e '^usr/doc' -e '^usr/local' -e '^usr/man' -e '^usr/info' \ + -e '^usr/lib/libc.so' -e '^usr/bin/[a-z0-9-]+-config*' -e '^usr/lib/.*\.la$$' \ + -e '^/usr/lib/libpthread_nonshared.a' | \ tee '${STAGING_PKG_DIR}/${PKG_NAME}' | \ $(STAGING_HOST_DIR)/usr/bin/cpio -padlmu '${STAGING_TARGET_DIR}' - @cd '${STAGING_TARGET_DIR}'; grep 'usr/lib/.*\.la$$' \ - '${STAGING_PKG_DIR}/${PKG_NAME}' | while read fn; do \ - chmod u+w $$fn; \ - $(SED) "s,\(^libdir='\| \|-L\|^dependency_libs='\)/usr/lib,\1$(STAGING_TARGET_DIR)/usr/lib,g" $$fn; \ - done endif ifeq (,$(filter noscripts,${PKG_OPTS})) @cd '${STAGING_TARGET_DIR}'; grep 'usr/s*bin/' \ |