diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2020-01-17 00:05:53 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2020-01-17 00:42:49 +0200 |
commit | 1322190fd355e6d9c0f37a668a77a14bbfb2c375 (patch) | |
tree | 21f20eae09713a56ea5f7e4498c4d8c4f4779bac | |
parent | f0c0f92ce4c6e0e2af06d5fda5a5fadba66b8342 (diff) | |
download | upstream-1322190fd355e6d9c0f37a668a77a14bbfb2c375.tar.gz upstream-1322190fd355e6d9c0f37a668a77a14bbfb2c375.tar.bz2 upstream-1322190fd355e6d9c0f37a668a77a14bbfb2c375.zip |
libcxx: fix build for x86/64
When building libcxx for x86/64, the library is installed in /usr/lib64.
As the install section tries to copy the library from /usr/lib, this
breaks build on x86/64. Override the lib dir suffix to fix this.
Fixes: 856ea2bad3b3 ("libcxx: Add package")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r-- | package/libs/libcxx/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/libs/libcxx/Makefile b/package/libs/libcxx/Makefile index 53b7f1eaab..8343cbb427 100644 --- a/package/libs/libcxx/Makefile +++ b/package/libs/libcxx/Makefile @@ -45,6 +45,7 @@ CMAKE_OPTIONS += \ -DLIBCXX_INCLUDE_BENCHMARKS=OFF \ -DLIBCXX_INCLUDE_DOCS=OFF \ -DLIBCXX_INCLUDE_TESTS=OFF \ + -DLIBCXX_LIBDIR_SUFFIX="" \ -DLIBCXX_STANDALONE_BUILD=ON \ -DLIBCXX_HAS_MUSL_LIBC=$(if $(CONFIG_USE_MUSL),ON,OFF) |