libcxx: fix build for x86/64
authorStijn Tintel <stijn@linux-ipv6.be>
Thu, 16 Jan 2020 22:05:53 +0000 (00:05 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Thu, 16 Jan 2020 22:42:49 +0000 (00:42 +0200)
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>
package/libs/libcxx/Makefile

index 53b7f1eaabd0a02806803c091e79e69b0d728fdf..8343cbb4274a536d9283513b321d918fef65f99a 100644 (file)
@@ -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)