pgplot: made dependent packages set environment variables from pgplot (#35803)

This commit is contained in:
downloadico 2023-03-08 01:48:12 -07:00 committed by GitHub
parent 3feadc0a36
commit 5b3ad0adaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,3 +175,7 @@ def libs(self):
def setup_run_environment(self, env):
env.set("PGPLOT_FONT", self.prefix.include + "/grfont.dat")
env.set("PGPLOT_DIR", self.prefix.lib + "/pgplot5")
def setup_dependent_run_environment(self, env, dependent_spec):
env.set("PGPLOT_FONT", self.prefix.include + "/grfont.dat")
env.set("PGPLOT_DIR", self.prefix.lib + "/pgplot5")