summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2016-03-11 16:40:00 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2016-03-11 16:40:00 +0800
commitb25f9436e0e2f3cec88d87eae94f2d55eab0cfcc (patch)
tree339c149bfaa483e6ae06344729fa1deeeb99cc47
parente75eef346bf5fc0644d98b7d5d8a20229d125eb6 (diff)
downloadgobject-introspection-b25f9436e0e2f3cec88d87eae94f2d55eab0cfcc.tar.gz
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.
-rw-r--r--build/win32/introspection-msvc.mak7
1 files 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