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