package/jemalloc: add jemalloc-config to _CONFIG_SCRIPTS handling
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 29 Nov 2020 07:57:04 +0000 (08:57 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 29 Nov 2020 21:20:13 +0000 (22:20 +0100)
Fixes (part of) http://autobuild.buildroot.net/results/23fe4365ca65f37eace8265a70fbfb9723b8ee9d/

jemalloc installs a jemalloc-config script, leaking build paths and breaking
reproducible builds (and per-package builds).

Add it to _CONFIG_SCRIPTS so the paths get fixed up for staging and the
script removed from target.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/jemalloc/jemalloc.mk

index aedc1f04bf6eed4780f160ef48279a00bcb3644b..e43a4f79068733ba19c3fd0a2560486e825adb18 100644 (file)
@@ -10,6 +10,7 @@ JEMALLOC_SITE = https://github.com/jemalloc/jemalloc/releases/download/$(JEMALLO
 JEMALLOC_LICENSE = BSD-2-Clause
 JEMALLOC_LICENSE_FILES = COPYING
 JEMALLOC_INSTALL_STAGING = YES
+JEMALLOC_CONFIG_SCRIPTS = jemalloc-config
 
 # gcc bug internal compiler error: in merge_overlapping_regs, at
 # regrename.c:304. This bug is fixed since gcc 6.