Skip to content

Commit a3e1549

Browse files
author
telwertowski
committedFeb 5, 2007
Mac python build changes:
- lib extension is .dylib not .so - all qt frameworks are needed for linking git-svn-id: http://svn.osgeo.org/qgis/trunk@6526 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent df975a8 commit a3e1549

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed
 

‎python/CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ IF (WIN32)
77
ELSE (WIN32)
88
SET(BINDINGS_CORE_LIB ${CMAKE_CURRENT_BINARY_DIR}/core/core.so)
99
SET(BINDINGS_GUI_LIB ${CMAKE_CURRENT_BINARY_DIR}/gui/gui.so)
10-
SET(QGIS_CORE_LIB ${CMAKE_BINARY_DIR}/src/core/libqgis_core.so)
11-
SET(QGIS_GUI_LIB ${CMAKE_BINARY_DIR}/src/gui/libqgis_gui.so)
10+
IF (APPLE)
11+
SET(QGIS_CORE_LIB ${CMAKE_BINARY_DIR}/src/core/libqgis_core.dylib)
12+
SET(QGIS_GUI_LIB ${CMAKE_BINARY_DIR}/src/gui/libqgis_gui.dylib)
13+
ELSE (APPLE)
14+
SET(QGIS_CORE_LIB ${CMAKE_BINARY_DIR}/src/core/libqgis_core.so)
15+
SET(QGIS_GUI_LIB ${CMAKE_BINARY_DIR}/src/gui/libqgis_gui.so)
16+
ENDIF (APPLE)
1217
ENDIF (WIN32)
1318

1419
SET (BINDINGS_LIBS ${BINDINGS_CORE_LIB} ${BINDINGS_GUI_LIB})

‎python/configure.py.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ for sip in sips_gui:
7676
# linker flags needed by the Qt library.
7777
makefile_core = sipconfig.ModuleMakefile(
7878
configuration=config,
79-
qt=["QtCore","QtGui","QtXml"],
79+
qt=["QtCore","QtGui","QtNetwork","QtSql","QtSvg","QtXml","Qt3Support"],
8080
build_file=build_file_core,
8181
installs=installs_core,
8282
install_dir=mod_dir,
8383
dir="core")
8484

8585
makefile_gui = sipconfig.ModuleMakefile(
8686
configuration=config,
87-
qt=["QtCore","QtGui","QtXml"],
87+
qt=["QtCore","QtGui","QtNetwork","QtSql","QtSvg","QtXml","Qt3Support"],
8888
build_file=build_file_gui,
8989
installs=installs_gui,
9090
install_dir=mod_dir,

0 commit comments

Comments
 (0)
Please sign in to comment.