Skip to content

Commit 29b04b2

Browse files
jemalloc build with install_lib_shared libraries
Only output shared lib libraries, we should not need static libraries
1 parent c77b530 commit 29b04b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

image/base/install-jemalloc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if uname -m | grep -qi 'aarch64'; then
1616
sha256sum jemalloc-5.3.0.tar.bz2
1717
echo "2db82d1e7119df3e71b7640219b6dfe84789bc0537983c3b7ac4f7189aecfeaa jemalloc-5.3.0.tar.bz2" | sha256sum -c
1818
tar --strip-components=1 -xjf jemalloc-5.3.0.tar.bz2
19-
./configure --prefix=/usr --with-lg-page=16 && make build_lib -j"$(nproc)" && make install_lib
19+
./configure --prefix=/usr --with-lg-page=16 && make build_lib -j"$(nproc)" && make install_lib_shared
2020
cd / && rm -rf /jemalloc-new
2121
else
2222
# jemalloc stable
@@ -27,7 +27,7 @@ else
2727
sha256sum jemalloc-3.6.0.tar.bz2
2828
echo "e16c2159dd3c81ca2dc3b5c9ef0d43e1f2f45b04548f42db12e7c12d7bdf84fe jemalloc-3.6.0.tar.bz2" | sha256sum -c
2929
tar --strip-components=1 -xjf jemalloc-3.6.0.tar.bz2
30-
./configure --prefix=/usr $EXTRA_CONF && make -j"$(nproc)" && make install
30+
./configure --prefix=/usr $EXTRA_CONF && make -j"$(nproc)" && make install_lib_shared
3131
cd / && rm -rf /jemalloc-stable
3232

3333
# jemalloc new
@@ -38,6 +38,6 @@ else
3838
sha256sum jemalloc-5.3.0.tar.bz2
3939
echo "2db82d1e7119df3e71b7640219b6dfe84789bc0537983c3b7ac4f7189aecfeaa jemalloc-5.3.0.tar.bz2" | sha256sum -c
4040
tar --strip-components=1 -xjf jemalloc-5.3.0.tar.bz2
41-
./configure --prefix=/usr --with-install-suffix=5.3.0 && make build_lib -j"$(nproc)" && make install_lib
41+
./configure --prefix=/usr --with-install-suffix=5.3.0 && make build_lib -j"$(nproc)" && make install_lib_shared
4242
cd / && rm -rf /jemalloc-new
4343
fi

0 commit comments

Comments
 (0)