Source: xsol
Version: 0.31-10
Severity: wishlist
Tags: patch

Xsol FTBFS in Ubuntu Quantal and newer if the libs are not specified after the 
object files.
Please consider including the attached patch.

--- a/debian/rules
+++ b/debian/rules
@@ -2,13 +2,13 @@
 
 # Use hardening options to build the package
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-LDFLAGS+=-lXm -lXt -lX11
+LIBS+=-lXm -lXt -lX11
 
 %:
 	dh $@ 
 
 override_dh_auto_build:
-	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o xsol xsol.c
+	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o xsol xsol.c $(LIBS)
 
 override_dh_auto_clean:
 	dh_auto_clean

Reply via email to