From c7d8355a01e3a3ef56bd650176d3ef6370faf74e Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Thu, 7 Mar 2024 10:35:45 -0600 Subject: put compat getpagesize into the right object list Was getting this linker error building shared libraries on Windows: Creating library C:/projects/portable/build/ssl/Release/ssl.lib and object C:/projects/portable/build/ssl/Release/ssl.exp recallocarray.obj : error LNK2019: unresolved external symbol getpagesize referenced in function getpagesize should be in compat rather than crypto object file list. --- crypto/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index c614735..c431df1 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt @@ -734,7 +734,7 @@ if(NOT HAVE_GETOPT) endif() if(NOT HAVE_GETPAGESIZE) - set(CRYPTO_SRC ${CRYPTO_SRC} compat/getpagesize.c) + set(COMPAT_SRC ${COMPAT_SRC} compat/getpagesize.c) endif() if(NOT HAVE_GETPROGNAME) -- cgit v1.2.3-55-g6feb