Fossil SCM

fix cross-compilation of mingw target on Linux/Darwin

jan.nijtmans 2012-09-02 12:50 trunk
Commit 9c0e1caec5ecaedbdb7a43fc17c8b3bf5044d473
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -536,14 +536,14 @@
536536
#### Attempt to determine if this is the actual MSYS shell. If so, we need to
537537
# use forward slashes for correctness. If the SHELL environment variable
538538
# exists, it is assumed that we are building inside of a Unix-style shell.
539539
#
540540
ifdef SHELL
541
-TRANSLATE = $(OBJDIR)/translate.exe
542
-MAKEHEADERS = $(OBJDIR)/makeheaders.exe
543
-MKINDEX = $(OBJDIR)/mkindex.exe
544
-VERSION = $(OBJDIR)/version.exe
541
+TRANSLATE = $(OBJDIR)/translate
542
+MAKEHEADERS = $(OBJDIR)/makeheaders
543
+MKINDEX = $(OBJDIR)/mkindex
544
+VERSION = $(OBJDIR)/version
545545
else
546546
TRANSLATE = $(subst /,\\,$(OBJDIR)/translate.exe)
547547
MAKEHEADERS = $(subst /,\\,$(OBJDIR)/makeheaders.exe)
548548
MKINDEX = $(subst /,\\,$(OBJDIR)/mkindex.exe)
549549
VERSION = $(subst /,\\,$(OBJDIR)/version.exe)
550550
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -536,14 +536,14 @@
536 #### Attempt to determine if this is the actual MSYS shell. If so, we need to
537 # use forward slashes for correctness. If the SHELL environment variable
538 # exists, it is assumed that we are building inside of a Unix-style shell.
539 #
540 ifdef SHELL
541 TRANSLATE = $(OBJDIR)/translate.exe
542 MAKEHEADERS = $(OBJDIR)/makeheaders.exe
543 MKINDEX = $(OBJDIR)/mkindex.exe
544 VERSION = $(OBJDIR)/version.exe
545 else
546 TRANSLATE = $(subst /,\\,$(OBJDIR)/translate.exe)
547 MAKEHEADERS = $(subst /,\\,$(OBJDIR)/makeheaders.exe)
548 MKINDEX = $(subst /,\\,$(OBJDIR)/mkindex.exe)
549 VERSION = $(subst /,\\,$(OBJDIR)/version.exe)
550
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -536,14 +536,14 @@
536 #### Attempt to determine if this is the actual MSYS shell. If so, we need to
537 # use forward slashes for correctness. If the SHELL environment variable
538 # exists, it is assumed that we are building inside of a Unix-style shell.
539 #
540 ifdef SHELL
541 TRANSLATE = $(OBJDIR)/translate
542 MAKEHEADERS = $(OBJDIR)/makeheaders
543 MKINDEX = $(OBJDIR)/mkindex
544 VERSION = $(OBJDIR)/version
545 else
546 TRANSLATE = $(subst /,\\,$(OBJDIR)/translate.exe)
547 MAKEHEADERS = $(subst /,\\,$(OBJDIR)/makeheaders.exe)
548 MKINDEX = $(subst /,\\,$(OBJDIR)/mkindex.exe)
549 VERSION = $(subst /,\\,$(OBJDIR)/version.exe)
550
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -500,14 +500,14 @@
500500
#### Attempt to determine if this is the actual MSYS shell. If so, we need to
501501
# use forward slashes for correctness. If the SHELL environment variable
502502
# exists, it is assumed that we are building inside of a Unix-style shell.
503503
#
504504
ifdef SHELL
505
-TRANSLATE = $(OBJDIR)/translate.exe
506
-MAKEHEADERS = $(OBJDIR)/makeheaders.exe
507
-MKINDEX = $(OBJDIR)/mkindex.exe
508
-VERSION = $(OBJDIR)/version.exe
505
+TRANSLATE = $(OBJDIR)/translate
506
+MAKEHEADERS = $(OBJDIR)/makeheaders
507
+MKINDEX = $(OBJDIR)/mkindex
508
+VERSION = $(OBJDIR)/version
509509
else
510510
TRANSLATE = $(subst /,\\,$(OBJDIR)/translate.exe)
511511
MAKEHEADERS = $(subst /,\\,$(OBJDIR)/makeheaders.exe)
512512
MKINDEX = $(subst /,\\,$(OBJDIR)/mkindex.exe)
513513
VERSION = $(subst /,\\,$(OBJDIR)/version.exe)
514514
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -500,14 +500,14 @@
500 #### Attempt to determine if this is the actual MSYS shell. If so, we need to
501 # use forward slashes for correctness. If the SHELL environment variable
502 # exists, it is assumed that we are building inside of a Unix-style shell.
503 #
504 ifdef SHELL
505 TRANSLATE = $(OBJDIR)/translate.exe
506 MAKEHEADERS = $(OBJDIR)/makeheaders.exe
507 MKINDEX = $(OBJDIR)/mkindex.exe
508 VERSION = $(OBJDIR)/version.exe
509 else
510 TRANSLATE = $(subst /,\\,$(OBJDIR)/translate.exe)
511 MAKEHEADERS = $(subst /,\\,$(OBJDIR)/makeheaders.exe)
512 MKINDEX = $(subst /,\\,$(OBJDIR)/mkindex.exe)
513 VERSION = $(subst /,\\,$(OBJDIR)/version.exe)
514
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -500,14 +500,14 @@
500 #### Attempt to determine if this is the actual MSYS shell. If so, we need to
501 # use forward slashes for correctness. If the SHELL environment variable
502 # exists, it is assumed that we are building inside of a Unix-style shell.
503 #
504 ifdef SHELL
505 TRANSLATE = $(OBJDIR)/translate
506 MAKEHEADERS = $(OBJDIR)/makeheaders
507 MKINDEX = $(OBJDIR)/mkindex
508 VERSION = $(OBJDIR)/version
509 else
510 TRANSLATE = $(subst /,\\,$(OBJDIR)/translate.exe)
511 MAKEHEADERS = $(subst /,\\,$(OBJDIR)/makeheaders.exe)
512 MKINDEX = $(subst /,\\,$(OBJDIR)/mkindex.exe)
513 VERSION = $(subst /,\\,$(OBJDIR)/version.exe)
514

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button