diff options
author | David Tardon <dtardon@redhat.com> | 2013-03-14 12:10:05 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-03-14 12:13:58 +0100 |
commit | b986c5076c0489e690b07e289b67f035b545d04e (patch) | |
tree | 4ce9b848421f89e762059a52efda553957ca87fa /solenv | |
parent | 95fe9541cabda703e56f2d36d2887d9c987cb197 (diff) |
cygpath only exists in Windows build, 2nd try
Avoid the $(shell cygpath) calls when not on windows. The error message
is harmless, but it bothers me. I think gb_ExternalProject_use_autoconf
(and the AUTOCONF_WRAPPERS definition) should be moved to
gbuild/platform.
Change-Id: Ia537c5dac682f93ce5efe5c54b97b3a257cb6136
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/ExternalProject.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/solenv/gbuild/ExternalProject.mk b/solenv/gbuild/ExternalProject.mk index ff55c0eee4c3..e1800148f854 100644 --- a/solenv/gbuild/ExternalProject.mk +++ b/solenv/gbuild/ExternalProject.mk @@ -200,12 +200,14 @@ endef # default log_filename is <run_target>.log # -AUTOCONF_WRAPPERS = \ +ifeq ($(COM),MSC) +AUTOCONF_WRAPPERS := \ REAL_CC="$(shell cygpath -w $(CC))" \ CC="$(call gb_Executable_get_target,gcc-wrapper)" \ REAL_CXX="$(shell cygpath -w $(CXX))" \ CXX="$(call gb_Executable_get_target,g++-wrapper)" \ LD="$(shell cygpath -w $(COMPATH)/bin/link.exe) -nologo" +endif define gb_ExternalProject_run $(call gb_Helper_print_on_error,cd $(EXTERNAL_WORKDIR)/$(3) && \ |