Browse Source

libandroid-support: use --remove-destination for header copying

in case of old symlink at destination
android-5
Tom Yan 6 years ago
committed by Fredrik Fornwall
parent
commit
57b12bcba4
  1. 3
      packages/libandroid-support/build.sh

3
packages/libandroid-support/build.sh

@ -18,5 +18,6 @@ termux_step_make_install () {
ln -sf libandroid-support.so $TERMUX_PREFIX/lib/libiconv.so
cp include/*.h $TERMUX_PREFIX/include/
rm -Rf $TERMUX_PREFIX/include/libandroid-support/
cp --remove-destination include/*.h $TERMUX_PREFIX/include/
}

Loading…
Cancel
Save