academic/ITK: Remove unnecessary pkg-config file.

This commit is contained in:
Benjamin Trigona-Harany 2018-08-15 09:18:21 -07:00
parent 24a1a24ad5
commit 08ffe9b3df
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ cd build
make install DESTDIR=$PKG
cd ..
# remove pkg-config file for openjpeg since this overwrites system package for something that should be internal to ITK
rm -rf $PKG/usr/lib64/pkgconfig
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true