build: include win32/win64 in output bundle name for mingw target.
This commit is contained in:
@@ -21,6 +21,9 @@ endif
|
|||||||
|
|
||||||
ifndef BUNDLE_NAME
|
ifndef BUNDLE_NAME
|
||||||
BUNDLE_NAME = openttd-custom-$(REV)-$(OS)
|
BUNDLE_NAME = openttd-custom-$(REV)-$(OS)
|
||||||
|
ifeq ($(OS),MINGW)
|
||||||
|
BUNDLE_NAME := $(BUNDLE_NAME)-win$(CPU_TYPE)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# An OSX application bundle needs the data files, lang files and openttd executable in a different location.
|
# An OSX application bundle needs the data files, lang files and openttd executable in a different location.
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ STRIP = !!STRIP!!
|
|||||||
TTD = !!TTD!!
|
TTD = !!TTD!!
|
||||||
TTDS = $(SRC_DIRS:%=%/$(TTD))
|
TTDS = $(SRC_DIRS:%=%/$(TTD))
|
||||||
OS = !!OS!!
|
OS = !!OS!!
|
||||||
|
CPU_TYPE = !!CPU_TYPE!!
|
||||||
OSXAPP = !!OSXAPP!!
|
OSXAPP = !!OSXAPP!!
|
||||||
LIPO = !!LIPO!!
|
LIPO = !!LIPO!!
|
||||||
AWK = !!AWK!!
|
AWK = !!AWK!!
|
||||||
|
|||||||
@@ -3362,6 +3362,7 @@ make_sed() {
|
|||||||
s@!!OBJS_RC!!@$OBJS_RC@g;
|
s@!!OBJS_RC!!@$OBJS_RC@g;
|
||||||
s@!!SRCS!!@$SRCS@g;
|
s@!!SRCS!!@$SRCS@g;
|
||||||
s@!!OS!!@$os@g;
|
s@!!OS!!@$os@g;
|
||||||
|
s@!!CPU_TYPE!!@$cpu_type@g;
|
||||||
s@!!CONFIGURE_FILES!!@$CONFIGURE_FILES@g;
|
s@!!CONFIGURE_FILES!!@$CONFIGURE_FILES@g;
|
||||||
s@!!AWK!!@$awk@g;
|
s@!!AWK!!@$awk@g;
|
||||||
s@!!DISTCC!!@$distcc@g;
|
s@!!DISTCC!!@$distcc@g;
|
||||||
|
|||||||
Reference in New Issue
Block a user