libressl/portable

libressl 3.8.1 build breaks with -DBUILD_SHARED_LIBS=ON

Closed this issue · 1 comments

erg commented

This command was working a couple months ago. (windows 11, 64bit)

cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON ..
...
...
...
CMake Error at crypto/CMakeLists.txt:936 (add_library):
  Cannot find source file:

    compat/getopt_long.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc


CMake Error at crypto/CMakeLists.txt:936 (add_library):
  No SOURCES given to target: crypto_obj


CMake Error at crypto/CMakeLists.txt:1034 (add_library):
  No SOURCES given to target: crypto-static


CMake Generate step failed.  Build files cannot be regenerated correctly.

This was fixed in 1defa3b, thanks for the report.