nixpkgs-suyu/pkgs/games/classicube/fix-linking.patch
rian aa4f7078b9
classicube: init at 1.3.2 (#189491)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-09-09 11:45:59 +02:00

13 lines
353 B
Diff

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=-lSDL2 -lpthread -lGL -lm -ldl -lcurl -lopenal
endif
ifeq ($(PLAT),sunos)