781ce19d74
The libpjsip package has build issues on the autobuilders that look like parallel build issues. These issues seem to be extremely hard to reproduce, so let's disable parallel build and see if this fixes the issue. The suspect error message is: ...-ld: cannot find -lpjsua collect2: error: ld returned 1 exit status Some of the failures: http://autobuild.buildroot.org/results/d6b/d6bff569bc9238cdf07970e11b5535d570be59bf http://autobuild.buildroot.org/results/f72/f721d5390bc61274c224bfe3a675ee194172ac91 http://autobuild.buildroot.org/results/b45/b45262971a7d7ce0604d124734223abca190c11e http://autobuild.buildroot.org/results/75e/75ee45b746ab8b80eb84297e2e4babbace1b5608 http://autobuild.buildroot.org/results/873/873771fbcc859578ed40a3c81b69ac3a388ae585 Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libpjsip
|
|
#
|
|
################################################################################
|
|
|
|
LIBPJSIP_VERSION = 2.4.5
|
|
LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.bz2
|
|
LIBPJSIP_SITE = http://www.pjsip.org/release/$(LIBPJSIP_VERSION)
|
|
LIBPJSIP_DEPENDENCIES = libsrtp
|
|
LIBPJSIP_LICENSE = GPLv2+
|
|
LIBPJSIP_LICENSE_FILES = COPYING
|
|
LIBPJSIP_INSTALL_STAGING = YES
|
|
LIBPJSIP_MAKE = $(MAKE1)
|
|
|
|
LIBPJSIP_CONF_ENV = \
|
|
LD="$(TARGET_CC)" \
|
|
CFLAGS="$(TARGET_CFLAGS) -DPJ_HAS_IPV6=1"
|
|
|
|
LIBPJSIP_CONF_OPTS = \
|
|
--disable-sound \
|
|
--disable-gsm-codec \
|
|
--disable-speex-codec \
|
|
--disable-speex-aec \
|
|
--disable-resample \
|
|
--disable-video \
|
|
--disable-opencore-amr \
|
|
--disable-g7221-codec \
|
|
--disable-ilbc-codec \
|
|
--with-external-srtp=$(STAGING_DIR)/usr
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBPJSIP_DEPENDENCIES += openssl
|
|
LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr
|
|
else
|
|
LIBPJSIP_CONF_OPTS += --disable-ssl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
|
|
LIBPJSIP_DEPENDENCIES += util-linux
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|