[med-svn] [praat] 07/10: d/rules: Avoid FTBFS when compiling sendpraat with ld -as-needed

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Mon Jun 13 07:46:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

rlaboiss-guest pushed a commit to branch master
in repository praat.

commit 8598539f59d1f3b621b1ebbd5ea7db96d779ffd2
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Sun Jun 12 16:34:02 2016 -0300

    d/rules: Avoid FTBFS when compiling sendpraat with ld -as-needed
    
    Closes: #822737
    Thanks: Logan Rosen for the patch
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index cca2524..2ae444b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,9 +59,9 @@ sendpraat: sys/sendpraat.c
 	$(CC) $(shell dpkg-buildflags --get CPPFLAGS)		\
 		$(shell dpkg-buildflags --get CFLAGS)		\
 		$(shell dpkg-buildflags --get LDFLAGS)		\
-		$(shell pkg-config --cflags --libs gtk+-2.0)	\
 		-Wl,--as-needed -std=gnu99 -DSTAND_ALONE -DUNIX	\
-		-o sendpraat sys/sendpraat.c
+		-o sendpraat sys/sendpraat.c			\
+		$(shell pkg-config --cflags --libs gtk+-2.0)
 
 override_dh_auto_build: sendpraat praat.1 sendpraat.1 praat-open-files.1
 	dh_auto_build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/praat.git



More information about the debian-med-commit mailing list