commit: 967f6d8dbaf9b73e9e0911b7f6ab397c99dc42b9 Author: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me> AuthorDate: Tue Feb 20 17:32:31 2024 +0000 Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me> CommitDate: Tue Feb 20 17:36:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=967f6d8d
dmd.eclass: Fix overwriting instead of appending to array. Signed-off-by: Horodniceanu Andrei <a.horodniceanu <AT> proton.me> eclass/dmd.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass index fb57d19..9b4554a 100644 --- a/eclass/dmd.eclass +++ b/eclass/dmd.eclass @@ -231,7 +231,7 @@ dmd_src_compile() { # shared+static libraries with !static-libs. Do this only for # >=2.107, if it's useful backport the improvements later. if dmd_ge 2.107; then - phobosMakeArgs=( $(usex static-libs 'lib dll' 'dll') ) + phobosMakeArgs+=( $(usex static-libs 'lib dll' 'dll') ) # druntime's notion of a shared library is a static archive # that is embedded into the phobos shared library. # @@ -239,7 +239,7 @@ dmd_src_compile() { # so file but who's gonna use it? Perhaps if phobos would # not incorporate druntime we could install them as separate # libraries (like ldc2 and gdc). - druntimeMakeArgs=( $(usex static-libs 'lib dll' 'dll') ) + druntimeMakeArgs+=( $(usex static-libs 'lib dll' 'dll') ) # Either way, now we no longer build static-libs # indiscriminately. fi