Browse Source

protobuf-c: Fix host binary

It needs rpath to find libprotoc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
7a2b6bfdb8
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libs/protobuf-c/Makefile

+ 5
- 0
libs/protobuf-c/Makefile 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


Loading…
Cancel
Save