mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -65,7 +65,7 @@ clean::
|
||||
|
||||
ifneq ($(wildcard h323/Makefile.ast),)
|
||||
include h323/Makefile.ast
|
||||
H323LDFLAGS += -Wl,--version-script=h323/noexport.map
|
||||
H323LDFLAGS+=-Wl,--version-script=h323/noexport.map
|
||||
clean::
|
||||
$(MAKE) -C h323 clean
|
||||
else
|
||||
@@ -105,8 +105,8 @@ chan_h323.so: chan_h323.o h323/libchanh323.a
|
||||
$(CMD_PREFIX) $(CXX) $(SOLINK) -o $@ $< h323/libchanh323.a $(CHANH323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -L$(OPENH323DIR)/lib $(H323LIB) -L/usr/lib -lcrypto -lssl -lexpat
|
||||
endif
|
||||
|
||||
chan_misdn.o: CFLAGS+=-Imisdn
|
||||
chan_misdn.o: ASTCFLAGS+=-Imisdn
|
||||
|
||||
misdn_config.o: CFLAGS+=-Imisdn
|
||||
misdn_config.o: ASTCFLAGS+=-Imisdn
|
||||
|
||||
$(chan_misdn): chan_misdn.o misdn_config.o misdn/isdn_lib.o misdn/isdn_msg_parser.o
|
||||
|
Reference in New Issue
Block a user