diff options
-rw-r--r-- | src/cpt-lib | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/cpt-lib b/src/cpt-lib index 9f1a5b8..9f28197 100644 --- a/src/cpt-lib +++ b/src/cpt-lib @@ -730,10 +730,15 @@ pkg_build() { cp -LRf "$repo_dir" "$pkg_dir/$pkg/$pkg_db/" # We never ever want this. Let's end the endless conflicts - # and remove it. This will be the only exception for a - # specific removal of this kind. + # and remove it. find "$pkg_dir/$pkg" -name charset.alias -exec rm -f {} + + # Remove libtool's '*.la' library files. This removes cross-build + # system conflicts that may arise. Build-systems change, libtool + # is getting deprecated, we don't want a package that depends on + # some package's '.la' files. + find "$pkg_dir/$pkg" -name '*.la' -exec rm -f {} + + log "$pkg" "Successfully built package" run_hook post-build "$pkg" "$pkg_dir/$pkg" |