Skip to content

Commit

Permalink
macOS: Fix SDL2 not being found when installed via MacPorts instead o…
Browse files Browse the repository at this point in the history
…f Homebrew (#69)

Add MacPorts RPATH
  • Loading branch information
SourMesen authored Sep 7, 2024
1 parent 008149c commit 238208a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ifneq ($(STATICLINK),false)
endif

ifeq ($(MESENOS),osx)
LINKOPTIONS += -framework Foundation -framework Cocoa
LINKOPTIONS += -framework Foundation -framework Cocoa -Wl,-rpath,/opt/local/lib
endif

CXXFLAGS = -fPIC -Wall --std=c++17 $(MESENFLAGS) $(SDL2INC) -I $(realpath ./) -I $(realpath ./Core) -I $(realpath ./Utilities) -I $(realpath ./Sdl) -I $(realpath ./Linux) -I $(realpath ./MacOS)
Expand Down

0 comments on commit 238208a

Please sign in to comment.