# handle pkg-config files
for(PKGCONFIG_LIB, $$list($$unique(PKGCONFIG))) {
    PKG_CONFIG_LIBDIR=/usr/$$CROSS_GNU_ARCH/lib/pkgconfig
    QMAKE_CXXFLAGS += $$system(PKG_CONFIG_LIBDIR=$$PKG_CONFIG_LIBDIR pkg-config --cflags $$PKGCONFIG_LIB)
    QMAKE_CFLAGS += $$system(PKG_CONFIG_LIBDIR=$$PKG_CONFIG_LIBDIR pkg-config --cflags $$PKGCONFIG_LIB)
    LIBS += $$system(PKG_CONFIG_LIBDIR=$$PKG_CONFIG_LIBDIR pkg-config --libs $$PKGCONFIG_LIB)
}
