protobuf-c: Fix host binary
It needs rpath to find libprotoc. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
46cee45370
commit
7a2b6bfdb8
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@ define Package/libprotobuf-c/description
|
||||||
internal RPC protocols and file formats.
|
internal RPC protocols and file formats.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
CMAKE_HOST_OPTIONS += \
|
||||||
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
|
-DCMAKE_SKIP_RPATH=OFF \
|
||||||
|
-DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOSTPKG}/lib"
|
||||||
|
|
||||||
CMAKE_OPTIONS += \
|
CMAKE_OPTIONS += \
|
||||||
-DBUILD_SHARED_LIBS=ON
|
-DBUILD_SHARED_LIBS=ON
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue