From b25f9436e0e2f3cec88d87eae94f2d55eab0cfcc Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 11 Mar 2016 16:40:00 +0800 Subject: MSVC builds: Fix previous commit We need to get the full, complete path for $(PREFIX) for all cases, not just when using the default prefix. --- build/win32/introspection-msvc.mak | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/win32/introspection-msvc.mak b/build/win32/introspection-msvc.mak index fe4fa679..6b582938 100644 --- a/build/win32/introspection-msvc.mak +++ b/build/win32/introspection-msvc.mak @@ -9,12 +9,13 @@ !if "$(PREFIX)" == "" PREFIX = ..\..\..\vs$(VSVER)\$(PLAT) -!if ![setlocal] && \ - ![set PFX=$(PREFIX)] && \ +!endif + +!if ![setlocal] && \ + ![set PFX=$(PREFIX)] && \ ![for %P in (%PFX%) do @echo PREFIX_FULL=%~dpnfP > pfx.x] !endif !include pfx.x -!endif !if "$(PKG_CONFIG_PATH)" == "" PKG_CONFIG_PATH=$(PREFIX_FULL)\lib\pkgconfig -- cgit v1.2.1