depot/third_party/nixpkgs/pkgs/games/classicube/fix-linking.patch

14 lines
357 B
Diff
Raw Normal View History

diff --git a/src/Makefile b/src/Makefile
index 83188ce..3439cdb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -40,7 +40,7 @@ LIBS=-mwindows -lws2_32 -lwininet -lwinmm -limagehlp -lcrypt32 -ld3d9
endif
ifeq ($(PLAT),linux)
-LIBS=-lX11 -lXi -lpthread -lGL -lm -ldl
+LIBS=-lX11 -lXi -lpthread -lGL -lm -ldl -lcurl -lopenal
endif
ifeq ($(PLAT),sunos)