def install(self): if not MSBuildPackageBase.install(self, installHeaders=False): return False utils.copyFile(os.path.join(self.sourceDir(), "include", "ffi.h"), os.path.join(self.imageDir(), "include", "ffi.h"), False) utils.copyFile(os.path.join(self.sourceDir(), "include", "ffi_common.h"), os.path.join(self.imageDir(), "include", "ffi_common.h"), False) return True
def install(self): if not MSBuildPackageBase.install(self, installHeaders=False): return False utils.copyFile(os.path.join(self.sourceDir(), "include", "ffi.h"), os.path.join(self.imageDir(), "include", "ffi.h"), False) utils.copyFile(os.path.join(self.sourceDir(), "include", "ffi_common.h"), os.path.join(self.imageDir(), "include", "ffi_common.h"), False) if CraftCore.compiler.isX86(): utils.copyFile(os.path.join(self.sourceDir(), "src", "x86", "ffitarget.h"), os.path.join(self.imageDir(), "include", "ffitarget.h"), False) else: utils.copyFile(os.path.join(self.sourceDir(), "src", "ia64", "ffitarget.h"), os.path.join(self.imageDir(), "include", "ffitarget.h"), False) return True