loader: Fix compilation on Solaris.

Francois Gouget fgouget at codeweavers.com
Sat Mar 14 03:35:01 CDT 2009


On Solaris EXTRA_BINARIES is empty which results in the shell trying to 
parse 'for f in ;' which is invalid.
---
 loader/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/Makefile.in b/loader/Makefile.in
index 1c882c6..e26994f 100644
--- a/loader/Makefile.in
+++ b/loader/Makefile.in
@@ -47,7 +47,7 @@ wine-installed: $(MAIN_OBJS) Makefile.in
 
 install install-lib:: wine-installed $(EXTRA_BINARIES) $(MANPAGES) $(INSTALLDIRS)
 	$(INSTALL_PROGRAM) wine-installed $(DESTDIR)$(bindir)/$(MODULE)
-	for f in $(EXTRA_BINARIES); do $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f; done
+	files="$(EXTRA_BINARIES)"; for f in $$files; do $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f; done
 	$(INSTALL_DATA) wine.man $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
 	$(INSTALL_DATA) wine.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
 	$(INSTALL_DATA) wine.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
-- 
1.6.1.3



More information about the wine-patches mailing list