MacOS - Overcoming linker failure

modified:   Makefile
This commit is contained in:
motoo-tobbler 2023-12-27 08:14:05 +05:30
parent a3b48fcf6f
commit 7c82b37953
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ else ifeq ($(findstring SDL,$(WINDOW_API)),SDL)
else ifeq ($(TARGET_RPI),1) else ifeq ($(TARGET_RPI),1)
BACKEND_LDFLAGS += -lGLESv2 BACKEND_LDFLAGS += -lGLESv2
else ifeq ($(OSX_BUILD),1) else ifeq ($(OSX_BUILD),1)
BACKEND_LDFLAGS += -framework OpenGL `pkg-config --libs glew` -ld_classic BACKEND_LDFLAGS += -framework OpenGL `pkg-config --libs glew`
EXTRA_CPP_FLAGS += -stdlib=libc++ -std=c++0x EXTRA_CPP_FLAGS += -stdlib=libc++ -std=c++0x
else else
BACKEND_LDFLAGS += -lGL BACKEND_LDFLAGS += -lGL