Bug#458277: a7xpg: linked against wrong libs

Arthur Loiret arthur.loiret at gmail.com
Sun Dec 30 01:02:10 UTC 2007


Package: a7xpg
Version: 0.11.dfsg1-2
Severity: normal
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.

-------------- next part --------------
diff -Nru --exclude changelog /tmp/9rHQrdTbeG/a7xpg-0.11.dfsg1/debian/patches/makefile.patch /tmp/fddRNhzGvp/a7xpg-0.11.dfsg1/debian/patches/makefile.patch
--- /tmp/9rHQrdTbeG/a7xpg-0.11.dfsg1/debian/patches/makefile.patch	2007-12-30 00:38:33.000000000 +0000
+++ /tmp/fddRNhzGvp/a7xpg-0.11.dfsg1/debian/patches/makefile.patch	2007-12-30 00:38:33.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=a7xpg
 +
 +all: $(EXE)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20071230/b128b9a4/attachment.pgp 


More information about the Pkg-games-devel mailing list