diff --git a/srcpkgs/libcec/template b/srcpkgs/libcec/template index a21293587d5..bf232fb89eb 100644 --- a/srcpkgs/libcec/template +++ b/srcpkgs/libcec/template @@ -21,6 +21,7 @@ if [ "$build_option_rpi" ]; then configure_args+=" -DRPI_INCLUDE_DIR=${XBPS_CROSS_BASE}/opt/vc/include" configure_args+=" -DRPI_LIB_DIR=${XBPS_CROSS_BASE}/opt/vc/lib" makedepends+=" rpi-userland-devel" + LDFLAGS="-Wl,-rpath=/opt/vc/lib" fi post_install() {