gnuplot: fix build with Apple Clang (#34092)

This commit is contained in:
Adam J. Stewart
2022-11-23 18:33:33 -06:00
committed by GitHub
parent b2505aed5c
commit 2c8ab85e6a

View File

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