diff options
author | Brent Cook <busterb@gmail.com> | 2024-03-07 10:35:45 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2024-03-07 10:35:45 -0600 |
commit | c7d8355a01e3a3ef56bd650176d3ef6370faf74e (patch) | |
tree | e8eaf7ab2afd90e50f0796ba45c4ef4a1a5c389a /crypto | |
parent | 41034e540c77d0bbcffd640afb4195b5b151eed6 (diff) | |
download | portable-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.txt | 2 |
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) | |||
734 | endif() | 734 | endif() |
735 | 735 | ||
736 | if(NOT HAVE_GETPAGESIZE) | 736 | if(NOT HAVE_GETPAGESIZE) |
737 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/getpagesize.c) | 737 | set(COMPAT_SRC ${COMPAT_SRC} compat/getpagesize.c) |
738 | endif() | 738 | endif() |
739 | 739 | ||
740 | if(NOT HAVE_GETPROGNAME) | 740 | if(NOT HAVE_GETPROGNAME) |