Change output dir to match other libs $PREFIX

IOSAD-218
Hussein Kasem 3 years ago
parent 27fe2fc3aa
commit a6ae0be44a
No known key found for this signature in database
GPG Key ID: 872F3148619AAEF1

@ -19,8 +19,9 @@ function build {
$ANDROID_NDK/ndk-build TARGET_PLATFORM=$ANDROID_PLATFORM TARGET_ARCH_ABI=$TARGET_ARCH_ABI \
ICONV_PATH=$ICONV_PREFIX
mkdir -p "$current_dir/$package_name-$build_version/libs/$TARGET_ARCH_ABI"
cp "$current_dir/obj/local/$TARGET_ARCH_ABI/libetpan.a" "$current_dir/$package_name-$build_version/libs/$TARGET_ARCH_ABI"
# Copy lib to arch/lib
mkdir -p "$current_dir/$package_name-$build_version/$TARGET_ARCH_ABI/lib"
cp "$current_dir/obj/local/$TARGET_ARCH_ABI/libetpan.a" "$current_dir/$package_name-$build_version/$TARGET_ARCH_ABI/lib"
rm -rf "$current_dir/obj"
}
@ -31,8 +32,8 @@ make stamp-prepare
# Copy public headers to include
cp -RL include/libetpan "$current_dir/include"
mkdir -p "$current_dir/$package_name-$build_version/include"
cp -RL include/libetpan "$current_dir/$package_name-$build_version/include"
mkdir -p "$current_dir/$package_name-$build_version/$TARGET_ARCH_ABI/include"
cp -RL include/libetpan "$current_dir/$package_name-$build_version/$TARGET_ARCH_ABI/include"
# Start building.
ANDROID_PLATFORM=android-18

Loading…
Cancel
Save