Skip to content

Commit 14a86f5

Browse files
committed
fixed linux jemalloc check
1 parent af8f38d commit 14a86f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/duckdb_loader.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function(_duckdb_validate_jemalloc_config)
116116

117117
# jemalloc is only enabled on 64bit x86 linux builds
118118
if(CMAKE_SIZEOF_VOID_P EQUAL 8
119-
AND OS_NAME STREQUAL "linux"
119+
AND CMAKE_SYSTEM_NAME STREQUAL "Linux"
120120
AND NOT BSD)
121121
set(jemalloc_allowed TRUE)
122122
else()

0 commit comments

Comments
 (0)