X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=channels%2FMakefile;h=314a9ee6166441b6f4555bba2ab5dafb5fd42db7;hp=1695cec664e5c45a03c6b0e12fcaa4ce07a4ca51;hb=1bd64edd1766af7a18535c7bde3e48350d862bc4;hpb=dca08fd8783e717d6570747aad119225651c483f;ds=sidebyside diff --git a/channels/Makefile b/channels/Makefile index 1695cec..314a9ee 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -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