nixpkgs/pkgs/games/classicube/fix-linking.patch
2023-08-29 15:59:43 -04:00

14 lines
341 B
Diff

diff --git a/Makefile b/Makefile
index 83188ce..3439cdb 100644
--- a/Makefile
+++ b/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)