Bug#555468: liquidwar: Fix allowing the package to build with binutils-gold

Stephen Kitt steve at sk2.org
Sat Nov 14 18:06:16 UTC 2009


Package: liquidwar
Severity: normal


Hi,

The attached patch allows lwmapgen to build with binutils-gold.

Regards,

Stephen

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
--- liquidwar-5.6.4.orig/src/Makefile.in
+++ liquidwar-5.6.4/src/Makefile.in
@@ -250,7 +250,7 @@
 
 liquidwar-mapgen: $(OBJ_FILES_MAPGEN)
 	@echo "Linking $@ (target=$(TARGET), debug=$(DEBUG), static=$(STATIC))"
-	@$(CC) $(LDFLAGS) $(LINK_OPTIONS) -o $@ $(OBJ_FILES_MAPGEN) $(PTHREAD) $(EXTERN_LIBS) 
+	@$(CC) $(LDFLAGS) $(LINK_OPTIONS) -o $@ $(OBJ_FILES_MAPGEN) -lm $(PTHREAD) $(EXTERN_LIBS) 
 
 dep:
 	@find . \


More information about the Pkg-games-devel mailing list