def make(self):
     with utils.ScopedEnv({
             "LIB":
             f"{os.environ['LIB']};{os.path.join(CraftStandardDirs.craftRoot() , 'lib')}",
             "INCLUDE":
             f"{os.environ['INCLUDE']};{os.path.join(CraftStandardDirs.craftRoot() , 'include')}"
     }):
         return MSBuildPackageBase.make(self)
Exemple #2
0
 def make(self):
     self.enterSourceDir()
     utils.putenv(
         "INCLUDE",
         "%s;%s" % (os.path.join(CraftStandardDirs.craftRoot(),
                                 "include"), os.environ["INCLUDE"]))
     utils.putenv(
         "LIB", "%s;%s" % (os.path.join(CraftStandardDirs.craftRoot(),
                                        "lib"), os.environ["LIB"]))
     return MSBuildPackageBase.make(self)