Should I set default dependency method in crossbuild.ini file? #9710
-
Should I set default dependency method in I found that the
but with
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Auto isn't a distinct dependency method. Auto will try pkg-config first, then cmake. Whichever one it finds, it will behave exactly identical to specifying the Either way, you cannot specify which one to use in a cross file, because there is no such option. It's meant to be set in meson.build, primarily for special cases e.g. there are system methods for some, and you can set the type to Apple frameworks, or dub... |
Beta Was this translation helpful? Give feedback.
-
Your arm-buildroot host machine pkg-config program is specified in the cross file without a path, and picks up the build machine x86_64 version. You don't specify PKG_CONFIG_PATH or PKG_CONFIG_LIBDIR either. Traditionally, pkg-config is a wrapper e.g. So, pkg-config reports the version of popt which is installed for your x86_64 build machine. |
Beta Was this translation helpful? Give feedback.
Your arm-buildroot host machine pkg-config program is specified in the cross file without a path, and picks up t…