diff -u cl-gd-0.4.2/debian/changelog cl-gd-0.4.2/debian/changelog --- cl-gd-0.4.2/debian/changelog +++ cl-gd-0.4.2/debian/changelog @@ -1,3 +1,11 @@ +cl-gd (0.4.2-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Use gcc for linking in debian/rules, and don't link to a bunch of + libs not needed by the code! + + -- Steve Langasek Thu, 26 Jan 2006 04:03:36 -0800 + cl-gd (0.4.2-3) unstable; urgency=low * Peter Van Eynde diff -u cl-gd-0.4.2/debian/rules cl-gd-0.4.2/debian/rules --- cl-gd-0.4.2/debian/rules +++ cl-gd-0.4.2/debian/rules @@ -25,7 +25,7 @@ dh_testdir # Add here commands to compile the package. gcc -fPIC -c $(lib-base).c - ld -lgd -lz -lpng -ljpeg -lfreetype -lm -lc -shared $(lib-base).o -o $(lib-base).so + gcc -Wl,-zdefs -shared -o $(lib-base).so $(lib-base).o -lgd touch build-stamp clean: