Browse Source

Always use -static linker flag when building for windows

tags/v1.9.11
falkTX 6 years ago
parent
commit
ba28132f4c
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      source/Makefile.mk

+ 5
- 0
source/Makefile.mk View File

@@ -148,6 +148,11 @@ ifeq ($(MACOS_OLD),true)
BUILD_CXX_FLAGS = $(BASE_FLAGS) $(CXXFLAGS) -DHAVE_CPP11_SUPPORT=0
endif

ifeq ($(WIN32),true)
# Always build statically on windows
LINK_FLAGS += -static
endif

# ---------------------------------------------------------------------------------------------------------------------
# Strict test build



Loading…
Cancel
Save