1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

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>
This commit is contained in:
Guido Falsi 2017-04-24 13:00:16 +00:00
parent 1b81d1e1c8
commit 6b6c984849
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439288

View File

@ -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: