summaryrefslogtreecommitdiff
path: root/third-party/pjproject
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 19:34:20 -0700
commitb213045fe4a32d4b41ca9a29af383b17a885ca35 (patch)
tree0abffa0567ae375e69a9d36ad938f0418d3f95c9 /third-party/pjproject
parentc877801e5dec9ef8c8ef5fe08bb22727cab7713c (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/pjproject')
-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: