Browse Source

Add MAC_SDK_FLAGS to LDFLAGS on Mac so it links with the correct Mac SDK version.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
12557c2a48
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      compile.mk

+ 1
- 0
compile.mk View File

@@ -30,6 +30,7 @@ ifdef ARCH_MAC
CXXFLAGS += -stdlib=libc++
MAC_SDK_FLAGS := -mmacosx-version-min=10.9
FLAGS += $(MAC_SDK_FLAGS)
LDFLAGS += $(MAC_SDK_FLAGS)
endif
ifdef ARCH_WIN
FLAGS += -DARCH_WIN


Loading…
Cancel
Save