dev-vcs/subversion: add cygwin support
authorMichael Haubenwallner <haubi@gentoo.org>
Mon, 20 Mar 2017 13:59:49 +0000 (14:59 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 22 Mar 2017 11:10:23 +0000 (12:10 +0100)
Package-Manager: portage-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/4256

dev-vcs/subversion/subversion-1.9.5.ebuild

index b3f7ebe9b88b011b08a209dfee5bf18951cc755f..7b0ad1c36f20ee0d9f46138da4a8171ef267b1d6 100644 (file)
@@ -180,6 +180,10 @@ src_configure() {
                        # avoid recording immediate path to sharedlibs into executables
                        append-ldflags -Wl,-bnoipath
                ;;
+               *-cygwin*)
+                       # no LD_PRELOAD support, no undefined symbols
+                       myconf+=( --disable-local-library-preloading LT_LDFLAGS=-no-undefined )
+                       ;;
                *-interix*)
                        # loader crashes on the LD_PRELOADs...
                        myconf+=( --disable-local-library-preloading )