~ruther/guix-local

ref: 8361b59fd4e918dbc30f33126862e3d60f7eda0e guix-local/gnu/packages/patches/irrlicht-link-against-needed-libs.patch -rw-r--r-- 863 bytes
8361b59f — Rutherther gnu: %desktop-services: Switch to GDM on 64-bit systems. 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Christoph Egger <Christoph.Egger@gmx.de>
Subject: [PATCH] debian/link-against-needed-libs

There are quite some libraries irrlicht needs but does not link
against. This patch makes irrlicht link correctly against all the
needed libraries.

Signed-off-by: Christoph Egger <Christoph.Egger@gmx.de>

---
 source/Irrlicht/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--- irrlicht.orig/source/Irrlicht/Makefile
+++ irrlicht/source/Irrlicht/Makefile
@@ -90,7 +90,7 @@
 LIB_PATH = ../../lib/$(SYSTEM)
 INSTALL_DIR = /usr/local/lib
 sharedlib install: SHARED_LIB = libIrrlicht.so
-sharedlib: LDFLAGS += -L/usr/X11R6/lib$(LIBSELECT) -lGL -lXxf86vm
+staticlib sharedlib: LDFLAGS += -L/usr/X11R6/lib$(LIBSELECT) -lGL -lXxf86vm -lX11 -lz -lpng -ljpeg -lbz2
 staticlib sharedlib: CXXINCS += -I/usr/X11R6/include
 
 #OSX specific options