gnuplot: fix undefined ref to symbol libiconv_open (#42116)

This fixes #39720.
This commit is contained in:
David Guibert 2024-01-17 17:22:06 +01:00 committed by GitHub
parent 0331b0d044
commit 85b2becd06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,7 +162,7 @@ def configure_args(self):
# TODO: --with-aquaterm depends_on('aquaterm')
options.append("--without-aquaterm")
if spec.satisfies("%gcc@11:"):
if spec.satisfies("%gcc@8:"):
os.environ["LDFLAGS"] = "-Wl,--copy-dt-needed-entries"
return options