mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
package/pkg-meson.mk: set correct pkgconfig for native dependencies
This sets the correct build.pkg_config_path for all meson packages so that dependencies with native: true will properly use the the host pkgconfig instead of the target pkgconfig. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
7292a5a072
commit
5cff3a8bdf
@ -87,6 +87,7 @@ define $(2)_CONFIGURE_CMDS
|
|||||||
--default-library=$(if $(BR2_STATIC_LIBS),static,shared) \
|
--default-library=$(if $(BR2_STATIC_LIBS),static,shared) \
|
||||||
--buildtype=$(if $(BR2_ENABLE_DEBUG),debug,release) \
|
--buildtype=$(if $(BR2_ENABLE_DEBUG),debug,release) \
|
||||||
--cross-file=$$($$(PKG)_SRCDIR)/build/cross-compilation.conf \
|
--cross-file=$$($$(PKG)_SRCDIR)/build/cross-compilation.conf \
|
||||||
|
-Dbuild.pkg_config_path=$$(HOST_DIR)/lib/pkgconfig \
|
||||||
$$($$(PKG)_CONF_OPTS) \
|
$$($$(PKG)_CONF_OPTS) \
|
||||||
$$($$(PKG)_SRCDIR) $$($$(PKG)_SRCDIR)/build
|
$$($$(PKG)_SRCDIR) $$($$(PKG)_SRCDIR)/build
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user