projects
/
moonshot-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab0eea3
)
Makefile.am: work around MSVC LIB.EXE not being in PATH
author
Sam Thursfield
<sam.thursfield@codethink.co.uk>
Wed, 23 Nov 2011 16:34:53 +0000
(16:34 +0000)
committer
Sam Thursfield
<sam.thursfield@codethink.co.uk>
Wed, 23 Nov 2011 16:34:53 +0000
(16:34 +0000)
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
5b6b1fa
..
7630c48
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-68,8
+68,10
@@
AM_VALAFLAGS += --define=OS_WIN32
noinst_DATA = libmoonshot/libmoonshot.lib
+# Build the MSVC lib. The sed hack fixes execution in the case that
+# the MSVC toolchain isn't in the PATH.
libmoonshot/libmoonshot.lib: libmoonshot/libmoonshot.def
- "${MSVC_LIB}" -def:$< -out:$@ -machine:x86
+
PATH="$(shell echo "${MSVC_LIB}" | sed -e s,/VC/bin/lib,/Common7/IDE,)":$$PATH
"${MSVC_LIB}" -def:$< -out:$@ -machine:x86
endif