From bc846d2bdabe9be18798f6a24cb8ab84ddb205ab Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 2 Apr 2017 15:44:56 -0500 Subject: [PATCH] Copy symlinks too properly --- package/linux/make_archive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/linux/make_archive.sh b/package/linux/make_archive.sh index 88ffdfdef..fd4fad26b 100755 --- a/package/linux/make_archive.sh +++ b/package/linux/make_archive.sh @@ -79,8 +79,8 @@ if [ -z ${WXDIR+x} ]; then done else echo "Copying libraries from $WXDIR/lib to $archivefolder/bin" - for dylib in $(find $WXDIR/lib -type f | grep "so"); do - install -v $dylib $archivefolder/bin + for dylib in $(find $WXDIR/lib | grep "so"); do + cp -P -v $dylib $archivefolder/bin done fi