summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2017-02-14 23:44:02 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-20 22:23:55 +0100
commit87dadc1f8e7f3a8d062f98fab01ff0787b436daa (patch)
treec9e7a9dc90f9a084447409ed8a1d5fe46736e7f7
parent2c3be02dfb16a39f9cd494f8215a4b1c4d4d8a70 (diff)
downloadbuildroot-87dadc1f8e7f3a8d062f98fab01ff0787b436daa.tar.gz
buildroot-87dadc1f8e7f3a8d062f98fab01ff0787b436daa.zip
bctoolbox: disable rpath
By default, bctoolbox adds the rpath to the shared library. Prevent this by setting `CMAKE_SKIP_RPATH` [1] to a true value. [1] https://cmake.org/cmake/help/latest/variable/CMAKE_SKIP_RPATH.html Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/bctoolbox/bctoolbox.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/bctoolbox/bctoolbox.mk b/package/bctoolbox/bctoolbox.mk
index 5eea0575fc..76737aa3c8 100644
--- a/package/bctoolbox/bctoolbox.mk
+++ b/package/bctoolbox/bctoolbox.mk
@@ -11,11 +11,14 @@ BCTOOLBOX_LICENSE_FILES = COPYING
BCTOOLBOX_DEPENDENCIES = mbedtls
BCTOOLBOX_INSTALL_STAGING = YES
+# Set CMAKE_SKIP_RPATH to prevent bctoolbox from adding the rpath to
+# shared library.
BCTOOLBOX_CONF_OPTS = \
-DENABLE_STRICT=OFF \
-DENABLE_TESTS_COMPONENT=OFF \
-DENABLE_TESTS=OFF \
- -DGIT_EXECUTABLE=OFF
+ -DGIT_EXECUTABLE=OFF \
+ -DCMAKE_SKIP_RPATH=ON
# bctoolbox can be build with mbedTLS or PolarSSL support. If both
# libraries are present, mbedTLS is preferred over PolarSSL.
OpenPOWER on IntegriCloud