Remove libtool archives once pkg is installed in destdir.
This fixes some problems with rpath being hardcoded to destdir in some packages. --HG-- extra : convert_revision : e045605819885ecf84f1b40b04bd9c229d308528
This commit is contained in:
parent
8682d45cd5
commit
2dd9026dea
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ install_src_phase()
|
|||
# Run post_install func.
|
||||
run_func post_install
|
||||
|
||||
# Remove libtool archives from pkg destdir.
|
||||
find ${DESTDIR} -type f -name \*.la -delete
|
||||
|
||||
# unset cross compiler vars.
|
||||
[ -n "$cross_compiler" ] && cross_compile_unsetvars
|
||||
|
||||
|
|
Loading…
Reference in a new issue