We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e53850c commit 5cb3760Copy full SHA for 5cb3760
CMakeLists.txt
@@ -128,6 +128,13 @@ set_target_properties(libipfs PROPERTIES
128
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_BINARY_DIR}
129
)
130
131
+if(APPLE AND DEPENDS)
132
+ add_custom_command(TARGET libipfs_build POST_BUILD
133
+ COMMAND ${CMAKE_RANLIB} ${CMAKE_CURRENT_BINARY_DIR}/${GO_OUT}
134
+ COMMENT "Running ranlib on Darwin archive to generate symbol table"
135
+ )
136
+endif()
137
+
138
if(APPLE)
139
set_target_properties(libipfs PROPERTIES
140
INTERFACE_LINK_LIBRARIES "${SECURITY_FRAMEWORK};${RESOLV_LIBRARY}"
0 commit comments