diff --git a/compile.mk b/compile.mk index 808d7b67..c7b45048 100644 --- a/compile.mk +++ b/compile.mk @@ -28,6 +28,7 @@ endif ifdef ARCH_MAC FLAGS += -DARCH_MAC CXXFLAGS += -stdlib=libc++ + LDFLAGS += -stdlib=libc++ MAC_SDK_FLAGS := -mmacosx-version-min=10.9 FLAGS += $(MAC_SDK_FLAGS) LDFLAGS += $(MAC_SDK_FLAGS)