diff --git a/templates/android-make/vars.mk b/templates/android-make/vars.mk index 223393d..e27220a 100644 --- a/templates/android-make/vars.mk +++ b/templates/android-make/vars.mk @@ -1,7 +1,7 @@ # # Tibia # -# Copyright (C) 2024 Orastron Srl unipersonale +# Copyright (C) 2024, 2025 Orastron Srl unipersonale # # Tibia is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/templates/cmd-make/Makefile b/templates/cmd-make/Makefile index bb4d9d3..1a654c2 100644 --- a/templates/cmd-make/Makefile +++ b/templates/cmd-make/Makefile @@ -63,6 +63,8 @@ ifeq ($(UNAME_S), Darwin) CFLAGS_ALL := $(CFLAGS_ALL) -arch arm64 -arch x86_64 LDFLAGS_ALL := $(LDFLAGS_ALL) -arch arm64 -arch x86_64 CXXFLAGS_ALL := $(CXXFLAGS_ALL) -arch arm64 -arch x86_64 +else + LDFLAGS_ALL := -static $(LDFLAGS_ALL) endif PROGRAM := $(BUNDLE_NAME)$(EXE_SUFFIX) diff --git a/templates/ios/tibia-index.js b/templates/ios/tibia-index.js index 8280ce6..39de07c 100644 --- a/templates/ios/tibia-index.js +++ b/templates/ios/tibia-index.js @@ -1,7 +1,7 @@ /* * Tibia * - * Copyright (C) 2024 Orastron Srl unipersonale + * Copyright (C) 2024, 2025 Orastron Srl unipersonale * * Tibia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/templates/lv2-make/Makefile b/templates/lv2-make/Makefile index e391677..8ca54ca 100644 --- a/templates/lv2-make/Makefile +++ b/templates/lv2-make/Makefile @@ -77,6 +77,8 @@ ifeq ($(UNAME_S), Darwin) CFLAGS_ALL := $(CFLAGS_ALL) -arch arm64 -arch x86_64 LDFLAGS_ALL := $(LDFLAGS_ALL) -arch arm64 -arch x86_64 CXXFLAGS_ALL := $(CXXFLAGS_ALL) -arch arm64 -arch x86_64 +else + LDFLAGS_ALL := -static $(LDFLAGS_ALL) endif DLL_FILE := $(BUNDLE_NAME)$(DLL_SUFFIX) diff --git a/templates/vst3-make/Makefile b/templates/vst3-make/Makefile index f355953..c9913f7 100644 --- a/templates/vst3-make/Makefile +++ b/templates/vst3-make/Makefile @@ -84,6 +84,8 @@ ifeq ($(UNAME_S), Darwin) ifeq ($(HAS_UI), yes) LDFLAGS_ALL := $(LDFLAGS_ALL) -Wl,-framework,Foundation -Wl,-framework,Cocoa -Wl,-framework,Corevideo endif +else + LDFLAGS_ALL := -static $(LDFLAGS_ALL) endif ifeq ($(UNAME_S), Linux) diff --git a/templates/vst3/tibia-index.js b/templates/vst3/tibia-index.js index f256b64..992e8c9 100644 --- a/templates/vst3/tibia-index.js +++ b/templates/vst3/tibia-index.js @@ -1,7 +1,7 @@ /* * Tibia * - * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * Copyright (C) 2023-2025 Orastron Srl unipersonale * * Tibia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by