From c8de0aea595d14f82520473dde2bc2f013e3fc64 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 13 Nov 2019 23:46:52 -0500 Subject: [PATCH] Include unused static symbols on Mac. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index bd1d631a..da984179 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,7 @@ ifdef ARCH_MAC SOURCES += dep/osdialog/osdialog_mac.m LDFLAGS += -lpthread -ldl \ -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo -framework CoreAudio -framework CoreMIDI \ + -Wl,-all_load \ dep/lib/libGLEW.a dep/lib/libglfw3.a dep/lib/libjansson.a dep/lib/libcurl.a dep/lib/libssl.a dep/lib/libcrypto.a dep/lib/libzip.a dep/lib/libz.a dep/lib/libspeexdsp.a dep/lib/libsamplerate.a dep/lib/librtmidi.a dep/lib/librtaudio.a # For LuaJIT LDFLAGS += -Wl,-pagezero_size,10000 -Wl,-image_base,100000000