log4cplus: install host libraries into lib
authorEneas U de Queiroz <redacted>
Wed, 14 Aug 2019 12:04:06 +0000 (09:04 -0300)
committerEneas U de Queiroz <redacted>
Wed, 14 Aug 2019 12:12:11 +0000 (09:12 -0300)
Default host build for the package uses lib64, but dependents expect
libraries to be in $(STAGING_DIR_HOSTPKG)/lib.

Signed-off-by: Eneas U de Queiroz <redacted>
libs/log4cplus/Makefile

index 2a503a1e81e681bb8ef1cb4caa2df2d46debced6..dc3cfc322a5b280702e8922328208c4137a742d1 100644 (file)
@@ -42,6 +42,9 @@ define Package/log4cplus/description
   configuration. It is modeled after the Java log4j API.
 endef
 
+CMAKE_HOST_OPTIONS += \
+       -DCMAKE_INSTALL_LIBDIR:PATH=lib
+
 CMAKE_OPTIONS += \
        -DLOG4CPLUS_BUILD_LOGGINGSERVER:BOOL=OFF \
        -DLOG4CPLUS_BUILD_TESTING:BOOL=OFF \
git clone https://git.99rst.org/PROJECT