aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorodniceanu Andrei <a.horodniceanu@proton.me>2024-02-20 19:32:31 +0200
committerHorodniceanu Andrei <a.horodniceanu@proton.me>2024-02-20 19:36:15 +0200
commit967f6d8dbaf9b73e9e0911b7f6ab397c99dc42b9 (patch)
tree861a1fb937b286a467d89bafddb52e0ae97da738
parentdev-util/dlang-tools: add 2.107.0 (diff)
downloaddlang-967f6d8dbaf9b73e9e0911b7f6ab397c99dc42b9.tar.gz
dlang-967f6d8dbaf9b73e9e0911b7f6ab397c99dc42b9.tar.bz2
dlang-967f6d8dbaf9b73e9e0911b7f6ab397c99dc42b9.zip
dmd.eclass: Fix overwriting instead of appending to array.
Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
-rw-r--r--eclass/dmd.eclass4
1 files 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