summaryrefslogtreecommitdiff
path: root/third-party
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2016-11-16 19:24:08 -0700
committerGeorge Joseph <gjoseph@digium.com>2016-11-16 21:31:54 -0500
commit935f5d003bb19e4ecb683bdb6d5896d02f26f539 (patch)
treee8bd56f87bc1abca86455068f2d7ee40980b757a /third-party
parent97b2ba472d64147fc7790126bda95c9f63445c66 (diff)
build: Various OpenBSD issues
OpenBSD's 'find' doesn't take the -delete argument so you have to pipe through 'xargs rm -rf'. 'echo -e' doesn't like \t starting a line. It just prints 't' which causes the libasteriskpj.exports file to be garbage. They were just cosmetic so they were removed. librt doesn't exist so the link of libasteriskpj.so fails. It's not actually needed for linux anyway so -lrt was removed from the link. res_rtp_asterisk was failing to load because of an undefined DTLS_method. '|| defined(LIBRESSL_VERSION_NUMBER)' was added to the #if so DTLSv1_method is used instead. ASTERISK-26608 Change-Id: I926ec95b0b69633231e3ad1d6e803b977272c49c
Diffstat (limited to 'third-party')
-rw-r--r--third-party/pjproject/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/third-party/pjproject/Makefile b/third-party/pjproject/Makefile
index 106938b6c..5a4c2d1b6 100644
--- a/third-party/pjproject/Makefile
+++ b/third-party/pjproject/Makefile
@@ -193,9 +193,9 @@ clean:
$(ECHO_PREFIX) Cleaning
+-$(CMD_PREFIX) test -d source && ($(SUBMAKE) -C source clean || : ;\
rm -rf source/pjsip-apps/bin/* || : ;\
- find source -name *.a -delete ;\
- find source -name *.o -delete ;\
- find source -name *.so -delete ; ) || :
+ find source -name *.a | xargs rm -rf ;\
+ find source -name *.o | xargs rm -rf ;\
+ find source -name *.so | xargs rm -rf ; ) || :
-$(CMD_PREFIX) rm -rf pjproject.symbols
distclean: