1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-07 19:40:23 +08:00

fix: shared-library-lacks-prerequisites

This commit is contained in:
源文雨
2022-04-27 13:54:07 +08:00
parent 5253ade090
commit 975e6e6d97

View File

@@ -10,6 +10,10 @@ if (${isBigEndian})
add_definitions(-DWORDS_BIGENDIAN)
endif()
IF(NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin"))
add_compile_options("-lc")
ENDIF()
IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
add_library(libbase16384 SHARED base1464.c)
ELSE()