summaryrefslogtreecommitdiffstats
path: root/src/bindings
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-03-22 12:19:28 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-03-22 12:19:28 (GMT)
commitdbc9a01b53cf5d069a176f47d24de81c1c5efd69 (patch)
treed28eb0c655d6675fcfe0f0f7658c56841aea2dc1 /src/bindings
parent8e83ae0bdf36f958ff648ea2c540a8fe1eb6432f (diff)
downloaduscxml-dbc9a01b53cf5d069a176f47d24de81c1c5efd69.zip
uscxml-dbc9a01b53cf5d069a176f47d24de81c1c5efd69.tar.gz
uscxml-dbc9a01b53cf5d069a176f47d24de81c1c5efd69.tar.bz2
Fixed php build for other platforms again
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/swig/php/CMakeLists.txt4
-rw-r--r--src/bindings/swig/php/test.php1
2 files changed, 4 insertions, 1 deletions
diff --git a/src/bindings/swig/php/CMakeLists.txt b/src/bindings/swig/php/CMakeLists.txt
index 83f5797..20caa12 100644
--- a/src/bindings/swig/php/CMakeLists.txt
+++ b/src/bindings/swig/php/CMakeLists.txt
@@ -65,7 +65,9 @@ foreach(PHP_LIBRARY ${PHP_LIBRARIES})
SWIG_LINK_LIBRARIES(uscxmlNativePHP ${PHP_LIBRARY})
endforeach()
-set_target_properties(uscxmlNativePHP PROPERTIES LINK_FLAGS ${PHP_MODULE_CXX_FLAGS})
+if (APPLE)
+ set_target_properties(uscxmlNativePHP PROPERTIES LINK_FLAGS ${PHP_MODULE_CXX_FLAGS})
+endif()
#set_target_properties(uscxmlNativePHP PROPERTIES LINK_FLAGS ${PHP_LDFLAGS})
set_target_properties(uscxmlNativePHP PROPERTIES FOLDER "Bindings")
diff --git a/src/bindings/swig/php/test.php b/src/bindings/swig/php/test.php
index 2700ded..66ad658 100644
--- a/src/bindings/swig/php/test.php
+++ b/src/bindings/swig/php/test.php
@@ -7,5 +7,6 @@ foreach ($exts as $e)
}
$interpreter = interpreter_fromuri('/Users/sradomski/Documents/TK/Code/uscxml/test/samples/uscxml/test-ecmascript.scxml');
+interpreter_interpret($interpreter);
?> \ No newline at end of file