Package: tumiki-fighters Version: 0.2.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, and being linked using gdc instead of gcc. Here is a patch. Cheers, Arthur.
diff -Nru --exclude changelog /tmp/AH7t9AQP1k/tumiki-fighters-0.2.dfsg1/debian/patches/makefile.patch /tmp/m8xVhIiqWA/tumiki-fighters-0.2.dfsg1/debian/patches/makefile.patch --- /tmp/AH7t9AQP1k/tumiki-fighters-0.2.dfsg1/debian/patches/makefile.patch 2007-12-30 00:50:48.000000000 +0000 +++ /tmp/m8xVhIiqWA/tumiki-fighters-0.2.dfsg1/debian/patches/makefile.patch 2007-12-30 00:50:48.000000000 +0000 @@ -27,7 +27,7 @@ +all: $(EXE) + +$(EXE): $(OBJS) -+ gcc -o $@ $(OBJS) -lbulletml -lgphobos -lpthread -lm -lSDL -lGL -lGLU -lSDL_mixer ++ gdc -o $@ $(OBJS) -lbulletml -lSDL -lGL -lGLU -lSDL_mixer + +$(OBJS): %.o: %.d + gdmd -d -c -of$@ $(DFLAGS) -Iimport -Isrc $<
signature.asc
Description: Digital signature