|
Revision 3290, 0.9 kB
(checked in by tg, 1 year ago)
|
• tag a few diffs as local
• patch-utils_c: wtf is that? please elaborate the problem you're
trying to fix here, I think there's something wrong with it
|
| Line | |
|---|
| 1 |
$FreeWRT$ |
|---|
| 2 |
|
|---|
| 3 |
substitute crappy static paths with the right variable |
|---|
| 4 |
not for upstream submission |
|---|
| 5 |
|
|---|
| 6 |
--- asterisk-1.2.22.orig/channels/Makefile 2007-07-11 19:15:11.000000000 +0200 |
|---|
| 7 |
+++ asterisk-1.2.22/channels/Makefile 2007-07-19 00:48:12.000000000 +0200 |
|---|
| 8 |
@@ -87,7 +87,7 @@ ifneq ($(wildcard h323/libchanh323.a),) |
|---|
| 9 |
CHANNEL_LIBS+=chan_h323.so |
|---|
| 10 |
endif |
|---|
| 11 |
|
|---|
| 12 |
-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/mISDNuser/mISDNlib.h),) |
|---|
| 13 |
+ifneq ($(WITHOUT_MISDN),1) |
|---|
| 14 |
CHANNEL_LIBS+=chan_misdn.so |
|---|
| 15 |
CFLAGS+=-Imisdn |
|---|
| 16 |
endif |
|---|
| 17 |
@@ -249,7 +249,7 @@ misdn/chan_misdn_lib.a: |
|---|
| 18 |
make CROSS_COMPILE_TARGET=$(CROSS_COMPILE_TARGET) -C misdn |
|---|
| 19 |
|
|---|
| 20 |
chan_misdn.so: chan_misdn.o misdn_config.o misdn/chan_misdn_lib.a |
|---|
| 21 |
- $(CC) -shared -Xlinker -x -L/usr/lib -o $@ $^ -lisdnnet -lmISDN |
|---|
| 22 |
+ $(CC) -shared -Xlinker -x ${LDFLAGS} -o $@ $^ -lisdnnet -lmISDN |
|---|
| 23 |
|
|---|
| 24 |
chan_misdn.o: chan_misdn.c |
|---|
| 25 |
$(CC) $(CFLAGS) -DCHAN_MISDN_VERSION=\"0.3.0\" -c $< -o $@ |
|---|