nixpkgs/pkgs/games/classicube/fix-linking.patch
360ied 91bd7af0a5 classicube: 1.3.4 -> 1.3.5
changelog: https://github.com/UnknownShadow200/ClassiCube/releases/tag/1.3.5

changes in nixpkgs build:
- skins work again
- build no longer use SDL2 (libXi no longer has problems now)
2023-01-24 22:23:07 -05:00

13 lines
357 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=-lX11 -lXi -lpthread -lGL -lm -ldl -lcurl -lopenal
endif
ifeq ($(PLAT),sunos)