Package: mu-cade Version: 0.11.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/aTq9NcSY6Y/mu-cade-0.11.dfsg1/debian/patches/makefile.patch /tmp/7EKGyqvswN/mu-cade-0.11.dfsg1/debian/patches/makefile.patch --- /tmp/aTq9NcSY6Y/mu-cade-0.11.dfsg1/debian/patches/makefile.patch 2007-12-30 00:43:43.000000000 +0000 +++ /tmp/7EKGyqvswN/mu-cade-0.11.dfsg1/debian/patches/makefile.patch 2007-12-30 00:43:44.000000000 +0000 @@ -29,7 +29,7 @@ +all: $(EXE) + +$(EXE): $(OBJS) -+ $(CC) -o $@ $(OBJS) -lbulletml -lgphobos -lpthread -lm -lSDL -lGL -lGLU -lSDL_mixer -lstdc++ -lode ++ gdc -o $@ $(OBJS) -lbulletml -lSDL -lGL -lGLU -lSDL_mixer -lode + +$(OBJS): %.o: %.d + $(DC) -c $(DOUT)$@ $(DFLAGS) -Iimport -Isrc $<
signature.asc
Description: Digital signature