-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jemalloc]Fix dll generated when generating static library
- Loading branch information
JackBoosY
committed
Mar 27, 2019
1 parent
195e4aa
commit a833bf5
Showing
3 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: jemalloc | ||
Version: 4.3.1-2 | ||
Version: 4.3.1-3 | ||
Description: jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support | ||
Build-Depends: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 0b8959a..55e6a5f 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -826,10 +826,16 @@ endif() | ||
install(FILES include/jemalloc/jemalloc${install_suffix}.h | ||
DESTINATION include/jemalloc) | ||
|
||
-install(TARGETS ${LIBJEMALLOCSO} | ||
- RUNTIME DESTINATION bin | ||
- LIBRARY DESTINATION lib | ||
- ARCHIVE DESTINATION lib) | ||
+if (without-export) | ||
+ install(TARGETS ${C_JETLIB} | ||
+ LIBRARY DESTINATION lib | ||
+ ARCHIVE DESTINATION lib) | ||
+else() | ||
+ install(TARGETS ${LIBJEMALLOCSO} | ||
+ RUNTIME DESTINATION bin | ||
+ LIBRARY DESTINATION lib | ||
+ ARCHIVE DESTINATION lib) | ||
+endif() | ||
if (build-tests) | ||
################################################################## | ||
# Common source for Unit, Integration and stress test libraries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters