You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For apps using buildscripts to compile gresources as explained here, the docker image won't be able to compile the buildscript because of the setting of PKG_CONFIG_PATH variable. In this case, the buildscript (which is supposed to be built and run natively) will try to link against mingw dependencies.
One possible solution that worked for me was setting TARGET_PKG_CONFIG_PATH environment var instead of PKG_CONFIG_PATH.
Reference: https://github.com/rust-lang/pkg-config-rs#external-configuration-via-target-scoped-environment-variables
The text was updated successfully, but these errors were encountered:
For apps using buildscripts to compile gresources as explained here, the docker image won't be able to compile the buildscript because of the setting of PKG_CONFIG_PATH variable. In this case, the buildscript (which is supposed to be built and run natively) will try to link against mingw dependencies.
One possible solution that worked for me was setting TARGET_PKG_CONFIG_PATH environment var instead of PKG_CONFIG_PATH.
Reference: https://github.com/rust-lang/pkg-config-rs#external-configuration-via-target-scoped-environment-variables
The text was updated successfully, but these errors were encountered: