1
0
Fork 0
forked from fun/fun

Added OpenSSL as an extension, but just implemented MD5. (0.38.12)

This commit is contained in:
Johannes Findeisen 2026-02-19 12:33:33 +01:00
commit 53698478d9
15 changed files with 182 additions and 5 deletions

View file

@ -36,7 +36,8 @@ foreach(var_pair
LIBSQL
LIBXML2
TCL
NOTCURSES)
NOTCURSES
OPENSSL)
if(${var_pair}_INCLUDE_DIRS)
target_include_directories(fun_core PRIVATE ${${var_pair}_INCLUDE_DIRS})
endif()
@ -89,6 +90,10 @@ if(FUN_WITH_TCLTK)
target_compile_definitions(fun_core PUBLIC FUN_WITH_TCLTK=1)
endif()
if(FUN_WITH_OPENSSL)
target_compile_definitions(fun_core PUBLIC FUN_WITH_OPENSSL=1)
endif()
# Workaround: provide a dummy rust_eh_personality to satisfy linker when using
# no_std Rust staticlib with panic abort (some toolchains still reference it).
# If needed, we could add a C shim here, but the Rust crate now defines