diff options
author | madpilot <madpilot@FreeBSD.org> | 2017-04-24 21:00:16 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2017-04-24 21:00:16 +0800 |
commit | 1d1fec4ddedee1c60b9baa14380ba20e27c8739e (patch) | |
tree | 4035608337b9460d8234b441c09f3de4aa284cde /net/pjsip | |
parent | 441443674827629ac9ce6f6b6f43156d04085279 (diff) | |
download | freebsd-ports-gnome-1d1fec4ddedee1c60b9baa14380ba20e27c8739e.tar.gz freebsd-ports-gnome-1d1fec4ddedee1c60b9baa14380ba20e27c8739e.tar.zst freebsd-ports-gnome-1d1fec4ddedee1c60b9baa14380ba20e27c8739e.zip |
Only strip shared libraries if we are actually install them.
This fixes the build when the SHARED option is off.
Reported by: Dmitry Arkhireev <che at teftel.ru>
Diffstat (limited to 'net/pjsip')
-rw-r--r-- | net/pjsip/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/pjsip/Makefile b/net/pjsip/Makefile index 332141381269..c811495a8618 100644 --- a/net/pjsip/Makefile +++ b/net/pjsip/Makefile @@ -97,7 +97,7 @@ post-patch: @${ECHO} "#include <sys/select.h>" > ${WRKSRC}/pjlib/include/pj/config_site.h @${ECHO} "#define PJ_IOQUEUE_MAX_HANDLES (FD_SETSIZE)" >> ${WRKSRC}/pjlib/include/pj/config_site.h -post-install: +post-install-SHARED-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so post-install-PJSUA-on: |