mirror of
https://github.com/darlinghq/darling-python.git
synced 2024-11-23 04:09:40 +00:00
Set dylib version
This commit is contained in:
parent
f0cf0d6900
commit
7e90496340
@ -182,6 +182,8 @@ set(python_sources
|
||||
Modules/xxsubtype.c
|
||||
)
|
||||
|
||||
set(DYLIB_COMPAT_VERSION "2.6.0")
|
||||
set(DYLIB_CURRENT_VERSION "2.6.9")
|
||||
add_framework(Python
|
||||
FAT
|
||||
SOURCES
|
||||
@ -190,6 +192,8 @@ add_framework(Python
|
||||
DEPENDENCIES
|
||||
system
|
||||
)
|
||||
unset(DYLIB_COMPAT_VERSION)
|
||||
unset(DYLIB_CURRENT_VERSION)
|
||||
|
||||
include(darling_exe)
|
||||
include(darling_bundle)
|
||||
@ -303,39 +307,37 @@ pymodule(_sqlite ${sqlite_sources})
|
||||
target_link_libraries(py26__sqlite sqlite3)
|
||||
target_compile_definitions(py26__sqlite PRIVATE -DMODULE_NAME="sqlite3")
|
||||
|
||||
#pymodule(_scproxy Mac/Modules/_scproxy.c)
|
||||
#target_link_libraries(py26__scproxy SystemConfiguration)
|
||||
pymodule(_scproxy Mac/Modules/_scproxy.c)
|
||||
target_link_libraries(py26__scproxy SystemConfiguration)
|
||||
|
||||
if (NOT DARLING_NO_EXECUTABLES)
|
||||
function(install_lib subdir)
|
||||
file(GLOB py_files Lib/${subdir}/*.py)
|
||||
install(FILES ${py_files} DESTINATION libexec/darling/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/${subdir})
|
||||
endfunction(install_lib)
|
||||
function(install_lib subdir)
|
||||
file(GLOB py_files Lib/${subdir}/*.py)
|
||||
install(FILES ${py_files} DESTINATION libexec/darling/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/${subdir})
|
||||
endfunction(install_lib)
|
||||
|
||||
install_lib(.)
|
||||
install_lib(bsddb)
|
||||
install_lib(compiler)
|
||||
install_lib(ctypes)
|
||||
install_lib(ctypes/macholib)
|
||||
install_lib(curses)
|
||||
install_lib(distutils)
|
||||
install_lib(distutils/command)
|
||||
install_lib(email)
|
||||
install_lib(email/mime)
|
||||
install_lib(encodings)
|
||||
install_lib(hotshot)
|
||||
install_lib(json)
|
||||
install_lib(logging)
|
||||
install_lib(multiprocessing)
|
||||
install_lib(multiprocessing/dummy)
|
||||
install_lib(plat-darwin)
|
||||
install_lib(sqlite3)
|
||||
install_lib(wsgiref)
|
||||
install_lib(xml)
|
||||
install_lib(xml/dom)
|
||||
install_lib(xml/etree)
|
||||
install_lib(xml/parsers)
|
||||
install_lib(xml/sax)
|
||||
endif(NOT DARLING_NO_EXECUTABLES)
|
||||
install_lib(.)
|
||||
install_lib(bsddb)
|
||||
install_lib(compiler)
|
||||
install_lib(ctypes)
|
||||
install_lib(ctypes/macholib)
|
||||
install_lib(curses)
|
||||
install_lib(distutils)
|
||||
install_lib(distutils/command)
|
||||
install_lib(email)
|
||||
install_lib(email/mime)
|
||||
install_lib(encodings)
|
||||
install_lib(hotshot)
|
||||
install_lib(json)
|
||||
install_lib(logging)
|
||||
install_lib(multiprocessing)
|
||||
install_lib(multiprocessing/dummy)
|
||||
install_lib(plat-darwin)
|
||||
install_lib(sqlite3)
|
||||
install_lib(wsgiref)
|
||||
install_lib(xml)
|
||||
install_lib(xml/dom)
|
||||
install_lib(xml/etree)
|
||||
install_lib(xml/parsers)
|
||||
install_lib(xml/sax)
|
||||
|
||||
|
||||
|
@ -190,6 +190,8 @@ set(python_sources
|
||||
Modules/_math.c
|
||||
)
|
||||
|
||||
set(DYLIB_COMPAT_VERSION "2.7.0")
|
||||
set(DYLIB_CURRENT_VERSION "2.7.10")
|
||||
add_framework(Python
|
||||
FAT
|
||||
CURRENT_VERSION
|
||||
@ -199,6 +201,8 @@ add_framework(Python
|
||||
DEPENDENCIES
|
||||
system
|
||||
)
|
||||
unset(DYLIB_COMPAT_VERSION)
|
||||
unset(DYLIB_CURRENT_VERSION)
|
||||
|
||||
include(darling_exe)
|
||||
include(InstallSymlink)
|
||||
@ -309,40 +313,38 @@ pymodule(_sqlite ${sqlite_sources})
|
||||
target_link_libraries(py27__sqlite sqlite3)
|
||||
target_compile_definitions(py27__sqlite PRIVATE -DMODULE_NAME="sqlite3")
|
||||
|
||||
#pymodule(_scproxy Mac/Modules/_scproxy.c)
|
||||
#target_link_libraries(py27__scproxy SystemConfiguration)
|
||||
pymodule(_scproxy Mac/Modules/_scproxy.c)
|
||||
target_link_libraries(py27__scproxy SystemConfiguration)
|
||||
|
||||
if (NOT DARLING_NO_EXECUTABLES)
|
||||
function(install_lib subdir)
|
||||
file(GLOB py_files Lib/${subdir}/*.py)
|
||||
install(FILES ${py_files} DESTINATION libexec/darling/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/${subdir})
|
||||
endfunction(install_lib)
|
||||
function(install_lib subdir)
|
||||
file(GLOB py_files Lib/${subdir}/*.py)
|
||||
install(FILES ${py_files} DESTINATION libexec/darling/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/${subdir})
|
||||
endfunction(install_lib)
|
||||
|
||||
install_lib(.)
|
||||
install_lib(bsddb)
|
||||
install_lib(compiler)
|
||||
install_lib(ctypes)
|
||||
install_lib(ctypes/macholib)
|
||||
install_lib(curses)
|
||||
install_lib(distutils)
|
||||
install_lib(distutils/command)
|
||||
install_lib(email)
|
||||
install_lib(email/mime)
|
||||
install_lib(encodings)
|
||||
install_lib(hotshot)
|
||||
install_lib(json)
|
||||
install_lib(logging)
|
||||
install_lib(multiprocessing)
|
||||
install_lib(multiprocessing/dummy)
|
||||
install_lib(plat-darwin)
|
||||
install_lib(sqlite3)
|
||||
install_lib(wsgiref)
|
||||
install_lib(xml)
|
||||
install_lib(xml/dom)
|
||||
install_lib(xml/etree)
|
||||
install_lib(xml/parsers)
|
||||
install_lib(xml/sax)
|
||||
install(FILES _sysconfigdata.py DESTINATION libexec/darling/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/)
|
||||
endif(NOT DARLING_NO_EXECUTABLES)
|
||||
install_lib(.)
|
||||
install_lib(bsddb)
|
||||
install_lib(compiler)
|
||||
install_lib(ctypes)
|
||||
install_lib(ctypes/macholib)
|
||||
install_lib(curses)
|
||||
install_lib(distutils)
|
||||
install_lib(distutils/command)
|
||||
install_lib(email)
|
||||
install_lib(email/mime)
|
||||
install_lib(encodings)
|
||||
install_lib(hotshot)
|
||||
install_lib(json)
|
||||
install_lib(logging)
|
||||
install_lib(multiprocessing)
|
||||
install_lib(multiprocessing/dummy)
|
||||
install_lib(plat-darwin)
|
||||
install_lib(sqlite3)
|
||||
install_lib(wsgiref)
|
||||
install_lib(xml)
|
||||
install_lib(xml/dom)
|
||||
install_lib(xml/etree)
|
||||
install_lib(xml/parsers)
|
||||
install_lib(xml/sax)
|
||||
install(FILES _sysconfigdata.py DESTINATION libexec/darling/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user