Bug#458281: val-and-rick: linked against wrong libs
Arthur Loiret
arthur.loiret at gmail.com
Sun Dec 30 01:12:31 UTC 2007
Package: val-and-rick
Version: 0.1a.dfsg1-1
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/5plHst6uBW/val-and-rick-0.1a.dfsg1/debian/patches/makefile.patch /tmp/hs9fMax2qQ/val-and-rick-0.1a.dfsg1/debian/patches/makefile.patch
--- /tmp/5plHst6uBW/val-and-rick-0.1a.dfsg1/debian/patches/makefile.patch 2007-12-30 00:52:32.000000000 +0000
+++ /tmp/hs9fMax2qQ/val-and-rick-0.1a.dfsg1/debian/patches/makefile.patch 2007-12-30 00:52:32.000000000 +0000
@@ -19,7 +19,7 @@
+#DFLAGS=-g -debug
+CC=gcc
+DC=gdmd
-+LIBS=-lgphobos -lbulletml -lGLU -lGL `sdl-config --libs` -lSDL_mixer -lpthread -lm -lstdc++
++LIBS=-lbulletml -lGLU -lGL `sdl-config --libs` -lSDL_mixer
+EXE=val-and-rick
+
+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/c28fbd85/attachment.pgp
More information about the Pkg-games-devel
mailing list