Fix more build problems

This commit is contained in:
Lubos Dolezel 2020-04-17 17:54:12 +02:00
parent 3c541ad72a
commit eb9ad97331
2 changed files with 8 additions and 5 deletions

View File

@ -54,3 +54,11 @@ set(ar_sources
add_executable(x86_64-apple-darwin11-ar ${ar_sources})
set(ranlib_sources
../misc/libtool.c
$<TARGET_OBJECTS:stuff>
)
add_executable(ranlib ${ranlib_sources})
set_property(TARGET ranlib APPEND_STRING PROPERTY COMPILE_FLAGS " -DRANLIB")
set_target_properties(ranlib PROPERTIES OUTPUT_NAME "x86_64-apple-darwin11-ranlib")

View File

@ -69,8 +69,3 @@ set(lipo_sources
add_executable(lipo ${lipo_sources})
target_link_libraries(lipo m)
set(ranlib_sources
libtool.c
$<TARGET_OBJECTS:stuff>
)
add_executable(ranlib ${ranlib_sources})