mirror of
https://github.com/opnsense/src.git
synced 2026-06-15 03:31:11 -04:00
depend-cleanup.sh: Need to delete jemalloc.3 in objtree
With the jemalloc.3 move into the tree (it's a generated file that we don't/can't generate as part of the build), we need to remove it from the .OBJDIR or make gets confused about how to build it (honestly for reasons unknown). Sponsored by: Netflix
This commit is contained in:
parent
b55f5e1c4a
commit
42ee30f19c
1 changed files with 8 additions and 0 deletions
|
|
@ -231,3 +231,11 @@ clean_dep lib/libcrypt crypt-md5 c
|
|||
clean_dep lib/libcrypt crypt-nthash c
|
||||
clean_dep lib/libcrypt crypt-sha256 c
|
||||
clean_dep lib/libcrypt crypt-sha512 c
|
||||
|
||||
# 20241213 b55f5e1c4ae3 jemalloc: Move generated jemalloc.3 into lib/libc tree
|
||||
if [ -e "$OBJTOP"/lib/libc/jemalloc.3 ]; then
|
||||
# Have to cleanup the jemalloc.3 in the obj tree since make gets
|
||||
# confused and won't use the one in lib/libc/malloc/jemalloc/jemalloc.3
|
||||
echo "Removing stale jemalloc.3 object"
|
||||
run rm -f "$OBJTOP"/lib/libc/jemalloc.3
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue