build: fix insecure RUNPATH (#3212)
The -static-libtool-libs flag causes GNU libtool to add a rpath to the .libs build directory, which is intended for internal use by the libtool implementation and is not installed in the resulting package causing Gentoo to print a QA notice. See Gentoo issue: https://bugs.gentoo.org/945698.
This commit is contained in:
1 parent
0d1e371e63
commit
07af9c11b7
1 file changed
+1
-2
+1
-2
@@ -115,11 +115,10 @@ CLEANFILES = src/builtin.inc
|
||||
|
||||
bin_PROGRAMS = jq
|
||||
jq_SOURCES = src/main.c
|
||||
jq_LDFLAGS = -static-libtool-libs
|
||||
jq_LDADD = libjq.la -lm
|
||||
|
||||
if ENABLE_ALL_STATIC
|
||||
jq_LDFLAGS += -all-static
|
||||
jq_LDFLAGS = -all-static
|
||||
endif
|
||||
|
||||
### Tests (make check)
|
||||
|
||||
Reference in new issue
Block a user