From efe8810f6c84be3a442c9bd3d3034c88e6ef81b8 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Sun, 10 Dec 2023 19:45:37 +0100 Subject: [PATCH] Add missing -Lexternal/mt32emu for macOS --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 73f2ef867..b5f9d2e5d 100644 --- a/Makefile +++ b/Makefile @@ -250,7 +250,7 @@ else ifeq ($(PLATFORM),oga) # macOS Apple Silicon (SDL2, 64-bit, M1) else ifeq ($(PLATFORM),osx-m1) - LDFLAGS = -L/usr/local/lib external/libguisan/dylib/libguisan.dylib -lSDL2_image -lSDL2_ttf -lpng -liconv -lz -lFLAC -L/opt/homebrew/lib/ -lmpg123 -lmpeg2 -lmpeg2convert -lserialport -lportmidi -lmt32emu $(SDL_LDFLAGS) -framework IOKit -framework Foundation + LDFLAGS = -L/usr/local/lib external/libguisan/dylib/libguisan.dylib -Lexternal/mt32emu -lSDL2_image -lSDL2_ttf -lpng -liconv -lz -lFLAC -L/opt/homebrew/lib/ -lmpg123 -lmpeg2 -lmpeg2convert -lserialport -lportmidi -lmt32emu $(SDL_LDFLAGS) -framework IOKit -framework Foundation CPPFLAGS = -MD -MT $@ -MF $(@:%.o=%.d) $(SDL_CFLAGS) -I/opt/homebrew/include -Iexternal/libguisan/include -Isrc -Isrc/osdep -Isrc/threaddep -Isrc/include -Isrc/archivers -Iexternal/mt32emu/src -DAMIBERRY -D_FILE_OFFSET_BITS=64 -DCPU_AARCH64 $(SDL_CFLAGS) CXX=/usr/bin/c++ # DEBUG=1 @@ -258,7 +258,7 @@ else ifeq ($(PLATFORM),osx-m1) # macOS intel (SDL2, 64-bit, x86-64) else ifeq ($(PLATFORM),osx-x86) - LDFLAGS = -L/usr/local/lib external/libguisan/dylib/libguisan.dylib -lSDL2_image -lSDL2_ttf -lpng -liconv -lz -lFLAC -lmpg123 -lmpeg2 -lmpeg2convert -lserialport -lportmidi -lmt32emu $(SDL_LDFLAGS) -framework IOKit -framework Foundation + LDFLAGS = -L/usr/local/lib external/libguisan/dylib/libguisan.dylib -Lexternal/mt32emu -lSDL2_image -lSDL2_ttf -lpng -liconv -lz -lFLAC -lmpg123 -lmpeg2 -lmpeg2convert -lserialport -lportmidi -lmt32emu $(SDL_LDFLAGS) -framework IOKit -framework Foundation CPPFLAGS = -MD -MT $@ -MF $(@:%.o=%.d) $(SDL_CFLAGS) -I/usr/local/include -Iexternal/libguisan/include -Isrc -Isrc/osdep -Isrc/threaddep -Isrc/include -Isrc/archivers -Iexternal/mt32emu/src -DAMIBERRY -D_FILE_OFFSET_BITS=64 $(SDL_CFLAGS) CXX=/usr/bin/c++ # DEBUG=1