--- Makefile.in	2023-07-15 23:41:56.000000000 +0800
+++ Makefile.in	2023-07-25 14:06:59.000000000 +0800
@@ -183,7 +183,7 @@
 # A program to compile all the shaders into one bundle that we can link into the library.
 MAKE_BUNDLE_OBJS=make_bundled_shaders.o util.o init.o resource_pool.o
 make_bundled_shaders: $(MAKE_BUNDLE_OBJS)
-	$(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -o make_bundled_shaders $(MAKE_BUNDLE_OBJS) -lepoxy 
+	$(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -o make_bundled_shaders $(MAKE_BUNDLE_OBJS) -lepoxy -framework OpenGL
 bundled_shaders.cpp: make_bundled_shaders $(SHADERS)
 	./make_bundled_shaders $(SHADERS) > $@
 
