diff options
author | Christian Richter <christian.richter@beronet.com> | 2005-12-09 11:00:48 +0000 |
---|---|---|
committer | Christian Richter <christian.richter@beronet.com> | 2005-12-09 11:00:48 +0000 |
commit | 52d3ddabd155df0c0a128417d7803cd55989d2cb (patch) | |
tree | 371a882016f0b1d1f30c2da70744ca2c5a7cf9ca | |
parent | 9c8d7286dd263b44c4373a4a39cde774383c1873 (diff) |
chan_misdn links against shared mISDNuser libraries now
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/channels/Makefile b/channels/Makefile index 325b4b85d..1695cec66 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -83,6 +83,7 @@ endif ifneq ($(wildcard misdn/chan_misdn_lib.a),) CHANNEL_LIBS+=chan_misdn.so + CFLAGS+=-Imisdn endif CFLAGS+=-Wno-missing-prototypes -Wno-missing-declarations @@ -234,11 +235,10 @@ chan_h323.so: chan_h323.o h323/libchanh323.a endif chan_misdn.so: chan_misdn.o chan_misdn_config.o misdn/chan_misdn_lib.a - $(CC) -shared -Xlinker -x -o $@ $^ $(MISDNUSER)/i4lnet/libisdnnet.a $(MISDNUSER)/lib/libmISDN.a - -chan_misdn_config.o: chan_misdn_config.c - $(CC) $(CFLAGS) -c chan_misdn_config.c + $(CC) -shared -Xlinker -x -L/usr/lib -o $@ $^ -lisdnnet -lmISDN +chan_misdn.o: chan_misdn.c + $(CC) $(CFLAGS) -DCHAN_MISDN_VERSION=\"0.2.1\" -c $< -o $@ #chan_modem.so : chan_modem.o # $(CC) -rdynamic -shared -Xlinker -x -o $@ $< |