Package: gunroar
Version: 0.15.dfsg1-2
Tags: patch

Hi,


You are currently linking the executable to lphobos, lpthread, lm,
lstdc++, which is gdc driver's job and is wrong. Moreover, -lgphobos
alone won't work anymore when the shared lib will be uploaded, it'll
also require a libgphobos_nonshared.a staticly linked. Here is a patch.


Cheers,

Arthur.

diff -Nru --exclude changelog 
/tmp/6DN5TWuMXk/gunroar-0.15.dfsg1/debian/patches/makefile.patch 
/tmp/0SHDJWi2g1/gunroar-0.15.dfsg1/debian/patches/makefile.patch
--- /tmp/6DN5TWuMXk/gunroar-0.15.dfsg1/debian/patches/makefile.patch    
2007-12-30 00:40:51.000000000 +0000
+++ /tmp/0SHDJWi2g1/gunroar-0.15.dfsg1/debian/patches/makefile.patch    
2007-12-30 00:40:52.000000000 +0000
@@ -20,7 +20,7 @@
 +#DFLAGS=-g -debug
 +CC=gcc
 +DC=gdmd
-+LIBS=-lgphobos -lGLU -lGL `sdl-config --libs` -lSDL_mixer -lpthread -lm 
-lstdc++ 
++LIBS=-lGLU -lGL `sdl-config --libs` -lSDL_mixer 
 +EXE=gunroar
 +
 +all: $(EXE)

Attachment: signature.asc
Description: Digital signature

Reply via email to