[pkg-d-commits] [dub] 04/05: Add back no-as-needed GDC linker hack: Certain configurations still need it (Closes: #884701)

Matthias Klumpp mak at moszumanska.debian.org
Wed Jan 3 20:47:45 UTC 2018


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

mak pushed a commit to branch master
in repository dub.

commit 62246cd9d2eefafc4fd8558e0c1b53ea50fd2cd3
Author: Matthias Klumpp <mak at debian.org>
Date:   Wed Jan 3 21:35:05 2018 +0100

    Add back no-as-needed GDC linker hack: Certain configurations still need it (Closes: #884701)
    
    This is required by Ubuntu.
---
 debian/build_dub.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/build_dub.sh b/debian/build_dub.sh
index dbf718d..1c5d4d5 100755
--- a/debian/build_dub.sh
+++ b/debian/build_dub.sh
@@ -15,7 +15,7 @@ echo "enum dubVersion = \"$DEB_VERSION\";" >> source/dub/version_.d
 
 echo "Running $GDC..."
 $GDC -Wall -obin/dub -fversion=DubUseCurl -Isource \
-	$LIBS -lz \
+	-Wl,--push-state,--no-as-needed $LIBS -lz -Wl,--pop-state \
 	$CFLAGS \
 	$LDFLAGS \
 	$* @build-files.txt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/dub.git



More information about the pkg-d-commits mailing list