1
0
forked from pool/mapserver
mapserver/4788-php-mapscript.patch
Angelos Tzotsos ba1eb1e111 Accepting request 212676 from home:bruno_friedmann:branches:Application:Geo
Updated 6.4.1 upstream
Fixed issue with php_mapscript
Cleaning old merge patches
Redone patches for issue 4788 (targeted to 6.4.2)

OBS-URL: https://build.opensuse.org/request/show/212676
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=97
2014-01-02 23:11:28 +00:00

19 lines
530 B
Diff

diff --git a/mapscript/php/CMakeLists.txt b/mapscript/php/CMakeLists.txt
index 89092cc..664b095 100644
--- a/mapscript/php/CMakeLists.txt
+++ b/mapscript/php/CMakeLists.txt
@@ -25,6 +25,13 @@ add_library(php_mapscript MODULE
)
+if(NOT APPLE)
+ set_target_properties( php_mapscript PROPERTIES
+ VERSION ${MapServer_VERSION_STRING}
+ SOVERSION ${MapServer_SOVERSION}
+ )
+endif(NOT APPLE)
+
target_link_libraries(php_mapscript ${MAPSERVER_LIBMAPSERVER})
set_target_properties(php_mapscript PROPERTIES PREFIX "")