Skip to content
Snippets Groups Projects
Commit 1bd64edd authored by Russell Bryant's avatar Russell Bryant
Browse files

allow forcing the build to exclude PRI support using WITHOUT_PRI, similar to

how we already have WITHOUT_ZAPTEL (issue #5985)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent dca08fd8
Branches
Tags
No related merge requests found
......@@ -92,10 +92,12 @@ ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/alsa/asoundlib.h),)
CHANNEL_LIBS+=chan_alsa.so
endif
ifndef WITHOUT_PRI
ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/lib/libpri.so.1)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/lib/libpri.so.1),)
CFLAGS+=-DZAPATA_PRI
ZAPPRI=-lpri
endif
endif # WITHOUT_PRI
ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/lib/libmfcr2.so.1)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/lib/libmfcr2.so.1),)
CFLAGS+=-DZAPATA_R2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment