[Asterisk-cvs] asterisk/res Makefile,1.23,1.24

kpfleming kpfleming
Sun Sep 25 16:53:41 CDT 2005


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv14705/res

Modified Files:
	Makefile 
Log Message:
support new version of OSP toolkit (issue #5168)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/res/Makefile,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- Makefile	30 Aug 2005 02:54:02 -0000	1.23
+++ Makefile	25 Sep 2005 20:50:40 -0000	1.24
@@ -23,9 +23,14 @@
   MODS+=res_odbc.so
 endif
 
-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),)
+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/osp/osp.h),)
   MODS+=res_osp.so
-  OSPLIB=$(CROSS_COMPILE_TARGET)/usr/lib/libosp.a
+  OSPLIB=$(CROSS_COMPILE_TARGET)/usr/local/lib/libosptk.a
+else
+  ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),)
+    MODS+=res_osp.so
+    OSPLIB=$(CROSS_COMPILE_TARGET)/usr/lib/libosp.a
+  endif
 endif
 
 ifeq ($(findstring BSD,${OSARCH}),BSD)




More information about the svn-commits mailing list