Skip to content

Commit 5b3d7b6

Browse files
Merge pull request #973 from ldorau/Fix_building_the_custom_jemalloc
Fix building the custom jemalloc
2 parents 04fdd74 + 4dbe19c commit 5b3d7b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ else()
164164
add_custom_command(
165165
COMMAND make
166166
WORKING_DIRECTORY ${jemalloc_targ_SOURCE_DIR}
167-
OUTPUT ${jemalloc_targ_SOURCE_DIR}/lib/libjemalloc.la
167+
OUTPUT ${jemalloc_targ_SOURCE_DIR}/lib/libjemalloc.a
168168
DEPENDS ${jemalloc_targ_SOURCE_DIR}/Makefile)
169169
add_custom_command(
170170
COMMAND make install
171171
WORKING_DIRECTORY ${jemalloc_targ_SOURCE_DIR}
172172
OUTPUT ${jemalloc_targ_BINARY_DIR}/lib/libjemalloc.a
173-
DEPENDS ${jemalloc_targ_SOURCE_DIR}/lib/libjemalloc.la)
173+
DEPENDS ${jemalloc_targ_SOURCE_DIR}/lib/libjemalloc.a)
174174

175175
add_custom_target(jemalloc_prod
176176
DEPENDS ${jemalloc_targ_BINARY_DIR}/lib/libjemalloc.a)

0 commit comments

Comments
 (0)