mirror of
https://github.com/libressl/portable.git
synced 2026-01-17 21:51:17 +01:00
wrap bn_unit ALLOW_MEMORY_GROWTH in if(EMSCRIPTEN)
This commit is contained in:
committed by
Theo Buehler
parent
64d11fcf11
commit
165582f970
@@ -252,7 +252,9 @@ add_platform_test(bn_to_string bn_to_string)
|
||||
# bn_unit
|
||||
add_executable(bn_unit bn_unit.c)
|
||||
target_link_libraries(bn_unit ${OPENSSL_TEST_LIBS})
|
||||
set_target_properties(bn_unit PROPERTIES LINK_FLAGS "-sALLOW_MEMORY_GROWTH")
|
||||
if(EMSCRIPTEN)
|
||||
set_target_properties(bn_unit PROPERTIES LINK_FLAGS "-sALLOW_MEMORY_GROWTH")
|
||||
endif()
|
||||
add_platform_test(bn_unit bn_unit)
|
||||
|
||||
# bn_word
|
||||
|
||||
Reference in New Issue
Block a user