mirror of
https://github.com/Interlisp/maiko.git
synced 2026-05-03 23:09:34 +00:00
Add -rpath /Library/Frameworks to accommodate newer macOS releases (#505)
On or before macOS Ventura's release, defaulting the @rpath to include /Library/Frameworks stopped. Since we expect the SDL2 framework to be installed there we must add a -rpath option. This should be backwards compatible with older macOS releases. (verified on Catalina but nothing older)
This commit is contained in:
@@ -11,7 +11,7 @@ OPTFLAGS = -O2 -g
|
|||||||
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
||||||
DFLAGS = $(DEBUGFLAGS) $(SDLFLAGS) -DRELEASE=351
|
DFLAGS = $(DEBUGFLAGS) $(SDLFLAGS) -DRELEASE=351
|
||||||
|
|
||||||
LDFLAGS = -F /Library/Frameworks -framework SDL2
|
LDFLAGS = -rpath /Library/Frameworks -F /Library/Frameworks -framework SDL2
|
||||||
LDELDFLAGS =
|
LDELDFLAGS =
|
||||||
|
|
||||||
OBJECTDIR = ../$(RELEASENAME)/
|
OBJECTDIR = ../$(RELEASENAME)/
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ OPTFLAGS = -O2 -g
|
|||||||
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
||||||
DFLAGS = $(DEBUGFLAGS) $(SDLFLAGS) -DRELEASE=351
|
DFLAGS = $(DEBUGFLAGS) $(SDLFLAGS) -DRELEASE=351
|
||||||
|
|
||||||
LDFLAGS = -F /Library/Frameworks -framework SDL2
|
LDFLAGS = -rpath /Library/Frameworks -F /Library/Frameworks -framework SDL2
|
||||||
LDELDFLAGS =
|
LDELDFLAGS =
|
||||||
|
|
||||||
OBJECTDIR = ../$(RELEASENAME)/
|
OBJECTDIR = ../$(RELEASENAME)/
|
||||||
|
|||||||
Reference in New Issue
Block a user