Commit 574f51c9 authored by Adrien Béraud's avatar Adrien Béraud

contrib: only prefix pkg-config on win32

Refs #75667

Change-Id: I9d5c58d32334f7469ee567f6ff15c4e8df89d202
parent 35cb9273
......@@ -42,7 +42,11 @@ HAVE_WIN64 := 1
endif
ifdef HAVE_CROSS_COMPILE
ifdef HAVE_WIN32
PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config --static
else
PKG_CONFIG ?= pkg-config --static
endif
PKG_CONFIG_PATH_CUSTOM = $(PREFIX)/lib/pkgconfig
export PKG_CONFIG_PATH_CUSTOM
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment