diff --git a/libs/icu/icu.py b/libs/icu/icu.py --- a/libs/icu/icu.py +++ b/libs/icu/icu.py @@ -64,6 +64,11 @@ return True + def postInstall(self): + if not self.patchInstallPrefix([self.installDir() + "/bin/icu-config"], os.environ['KDEROOT'], "$KDEROOT"): + return False + return True + from Package.AutoToolsPackageBase import * @@ -92,6 +97,11 @@ utils.copyFile(os.path.join(self.installDir(), "lib", dll), os.path.join(self.installDir(), "bin", dll)) return True + def postInstall(self): + if not self.patchInstallPrefix([self.installDir() + "/bin/icu-config"], os.environ['KDEROOT'], "$KDEROOT"): + return False + return True + if CraftCore.compiler.isGCCLike(): class Package(PackageMSys):