aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2024-03-07 10:35:45 -0600
committerBrent Cook <busterb@gmail.com>2024-03-07 10:35:45 -0600
commitc7d8355a01e3a3ef56bd650176d3ef6370faf74e (patch)
treee8eaf7ab2afd90e50f0796ba45c4ef4a1a5c389a /crypto
parent41034e540c77d0bbcffd640afb4195b5b151eed6 (diff)
downloadportable-c7d8355a01e3a3ef56bd650176d3ef6370faf74e.tar.gz
portable-c7d8355a01e3a3ef56bd650176d3ef6370faf74e.tar.bz2
portable-c7d8355a01e3a3ef56bd650176d3ef6370faf74e.zip
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.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)
734endif() 734endif()
735 735
736if(NOT HAVE_GETPAGESIZE) 736if(NOT HAVE_GETPAGESIZE)
737 set(CRYPTO_SRC ${CRYPTO_SRC} compat/getpagesize.c) 737 set(COMPAT_SRC ${COMPAT_SRC} compat/getpagesize.c)
738endif() 738endif()
739 739
740if(NOT HAVE_GETPROGNAME) 740if(NOT HAVE_GETPROGNAME)