mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-23 04:09:43 +00:00
Build Python 2.6
This commit is contained in:
parent
9744d5beb3
commit
1901d45306
12
cmake/darling_bundle.cmake
Normal file
12
cmake/darling_bundle.cmake
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
FUNCTION(add_darling_bundle name loader)
|
||||
add_darling_library(${name} ${ARGN})
|
||||
set_property(TARGET ${name} APPEND_STRING PROPERTY
|
||||
LINK_FLAGS " -Wl,-bundle ")
|
||||
|
||||
if (loader)
|
||||
set_property(TARGET ${name} APPEND_STRING PROPERTY
|
||||
LINK_FLAGS " -Wl,-bundle_loader,${loader} ")
|
||||
endif (loader)
|
||||
ENDFUNCTION(add_darling_bundle)
|
||||
|
@ -12,7 +12,7 @@ FUNCTION(add_darling_library name)
|
||||
endforeach(f)
|
||||
|
||||
set(CMAKE_SKIP_RPATH TRUE)
|
||||
add_library(${name} ${files})
|
||||
add_library(${name} SHARED ${files})
|
||||
|
||||
# Link using Apple's ld64
|
||||
set_target_properties(${name} PROPERTIES
|
||||
|
@ -30,7 +30,10 @@ FUNCTION(use_ld64 target)
|
||||
-Wl,-dylib_file,/usr/lib/libresolv.9.dylib:${CMAKE_BINARY_DIR}/src/libresolv/libresolv.9.dylib \
|
||||
-Wl,-dylib_file,/usr/lib/system/libxpc.dylib:${CMAKE_BINARY_DIR}/src/external/libxpc/libxpc_firstpass.dylib \
|
||||
-Wl,-dylib_file,/usr/lib/libc++.1.dylib:${CMAKE_BINARY_DIR}/lib/libc++.1.dylib \
|
||||
-Wl,-dylib_file,/usr/lib/system/libsystem_malloc.dylib:${CMAKE_BINARY_DIR}/src/libmalloc/libsystem_malloc_firstpass.dylib ")
|
||||
-Wl,-dylib_file,/usr/lib/system/libsystem_malloc.dylib:${CMAKE_BINARY_DIR}/src/libmalloc/libsystem_malloc_firstpass.dylib \
|
||||
-Wl,-dylib_file,/usr/lib/libobjc.A.dylib:${CMAKE_BINARY_DIR}/src/external/objc4/runtime/libobjc.A.dylib \
|
||||
-Wl,-dylib_file,/usr/lib/libicucore.dylib:${CMAKE_BINARY_DIR}/src/external/icu/icuSources/libicucore.dylib \
|
||||
-Wl,-dylib_file,/System/Library/Frameworks/Python.framework/Versions/2.6/Python:${CMAKE_BINARY_DIR}/src/external/python/2.6/Python-2.6.9/Python ")
|
||||
|
||||
add_dependencies(${target} x86_64-apple-darwin11-ld)
|
||||
|
||||
|
@ -130,7 +130,7 @@ add_subdirectory(external/libclosure)
|
||||
add_subdirectory(external/compiler-rt/lib/builtins)
|
||||
add_subdirectory(CommonCrypto)
|
||||
add_subdirectory(csu)
|
||||
#add_subdirectory(external/python/2.6/Python-2.6.9)
|
||||
add_subdirectory(external/python/2.6/Python-2.6.9)
|
||||
#add_subdirectory(external/python/2.7/Python-2.7.10)
|
||||
#add_subdirectory(external/ruby)
|
||||
add_subdirectory(external/expat)
|
||||
@ -151,7 +151,7 @@ add_subdirectory(external/file_cmds)
|
||||
add_subdirectory(external/text_cmds)
|
||||
add_subdirectory(external/adv_cmds)
|
||||
#add_subdirectory(external/network_cmds)
|
||||
add_subdirectory(external/system_cmds)
|
||||
#add_subdirectory(external/system_cmds)
|
||||
add_subdirectory(external/bash)
|
||||
add_subdirectory(external/less)
|
||||
add_subdirectory(external/grep)
|
||||
|
@ -20,4 +20,5 @@ set(csu_SRCS
|
||||
)
|
||||
|
||||
add_darling_library(csu STATIC ${csu_SRCS})
|
||||
make_fat(csu)
|
||||
|
||||
|
2
src/external/configd
vendored
2
src/external/configd
vendored
@ -1 +1 @@
|
||||
Subproject commit 02b98bce8e115d387be85df45cd01541835ded0c
|
||||
Subproject commit ff70af2e19f4d56dbe39e6be19044b229733a139
|
2
src/external/foundation
vendored
2
src/external/foundation
vendored
@ -1 +1 @@
|
||||
Subproject commit 8c7be80b924c0df33e4b7dda6dcae4eca1c831aa
|
||||
Subproject commit 7adb872fa98945a62c298645ef0d7027815fac03
|
2
src/external/python
vendored
2
src/external/python
vendored
@ -1 +1 @@
|
||||
Subproject commit a96929297fd7daad629ddcda7beb2850f852dcda
|
||||
Subproject commit 69dbf55d6b33d13bde9f0032379157bb321639e2
|
Loading…
Reference in New Issue
Block a user