protobuf-c: Fix host binary

It needs rpath to find libprotoc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-09-25 21:35:30 -07:00
parent 46cee45370
commit 7a2b6bfdb8
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,11 @@ define Package/libprotobuf-c/description
internal RPC protocols and file formats.
endef
CMAKE_HOST_OPTIONS += \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOSTPKG}/lib"
CMAKE_OPTIONS += \
-DBUILD_SHARED_LIBS=ON