Module: sems
Branch: 1.2
Commit: 9a486978dcdcff457c955396d89bc10a750e0ae3
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=9a486978dcdcff457c955396d89bc10a750e0ae3

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Fri Sep 24 16:15:55 2010 +0200

no -Xlinker and --export-dynamic on solaris, too

---

 apps/dsm/mods/mod_py/Makefile |    2 ++
 apps/ivr/Makefile             |    6 ++----
 apps/py_sems/Makefile         |    9 +++++++--
 3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/apps/dsm/mods/mod_py/Makefile b/apps/dsm/mods/mod_py/Makefile
index 210479a..e33c7b0 100644
--- a/apps/dsm/mods/mod_py/Makefile
+++ b/apps/dsm/mods/mod_py/Makefile
@@ -34,5 +34,7 @@ lib_full_name = $(DSMPATH)/mods/lib/$(lib_name)
 include $(DSMPATH)/mods/Makefile.dsm_module
 
 ifneq ($(OS),darwin)
+ifneq ($(OS),solaris)
 PYTHON_module_ldflags += -Xlinker --export-dynamic
+endif
 endif
\ No newline at end of file
diff --git a/apps/ivr/Makefile b/apps/ivr/Makefile
index a96befc..e2c116b 100644
--- a/apps/ivr/Makefile
+++ b/apps/ivr/Makefile
@@ -15,10 +15,6 @@ PYTHON_module_cflags = -I$(PYTHON_DIR) -fno-strict-aliasing 
-Wno-write-strings
 PYTHON_module_ldflags = -L$(PYTHON_LIBDIR)/config \
                        -lpython$(PY_VER)
 
-#PYTHON_module_ldflags = -Xlinker --export-dynamic \
-#                      -L$(PYTHON_LIBDIR)/config \
-#                      -lpython$(PY_VER)
-
 
 
 ifeq ($(TTS), y)
@@ -88,8 +84,10 @@ endif
 include $(COREPATH)/plug-in/Makefile.app_module
 
 ifneq ($(OS),darwin)
+ifneq ($(OS),solaris)
 PYTHON_module_ldflags += -Xlinker --export-dynamic
 endif
+endif
 
 .PHONY: install_python_files
 install_python_files: $(DESTDIR)$(modules-prefix)/$(modules-dir)
diff --git a/apps/py_sems/Makefile b/apps/py_sems/Makefile
index 179e97f..e8aafbc 100644
--- a/apps/py_sems/Makefile
+++ b/apps/py_sems/Makefile
@@ -10,8 +10,7 @@ TTS ?= y
 PYTHON_DYNLOAD_MODULES = $(wildcard $(PYTHON_LIBDIR)/lib-dynload/*.so) \
        $(wildcard $(PYTHON_LIBDIR)/site-packages/*.so)
 PYTHON_module_cflags = -Wno-write-strings -fno-strict-aliasing -I$(PYTHON_DIR) 
-Isip/
-PYTHON_module_ldflags = -Xlinker --export-dynamic \
-                       -L$(PYTHON_LIBDIR)/config \
+PYTHON_module_ldflags = -L$(PYTHON_LIBDIR)/config \
                        -lpython$(PY_VER) 
 
 #\
@@ -41,6 +40,12 @@ module_cflags  = \
        $(PY_SEMS_TTS_module_cflags) \
        $(module_additional_cflags)
 
+ifneq ($(OS),darwin)
+ifneq ($(OS),solaris)
+PYTHON_module_ldflags += -Xlinker --export-dynamic
+endif
+endif
+
 module_extra_objs = sip/py_sems_lib.a
 extra_target  = sip/py_sems_lib.a python_files
 extra_install = install_python_files

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to