diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-03-11 16:40:00 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-03-11 16:40:00 +0800 |
commit | b25f9436e0e2f3cec88d87eae94f2d55eab0cfcc (patch) | |
tree | 339c149bfaa483e6ae06344729fa1deeeb99cc47 /build | |
parent | e75eef346bf5fc0644d98b7d5d8a20229d125eb6 (diff) | |
download | gobject-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.
Diffstat (limited to 'build')
-rw-r--r-- | build/win32/introspection-msvc.mak | 7 |
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 |