diff options
-rwxr-xr-x | build | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -80,7 +80,9 @@ install.stamp: build mv "dest/usr/$(OH_HOST_ARCH_GNU)/$${target_arch_gnu}/include" \ "dest/usr/include/$(OH_HOST_ARCH)/$${target}" && \ mv "dest/usr/$(OH_HOST_ARCH_GNU)/$${target_arch_gnu}/lib" \ - "dest/usr/lib/$(OH_HOST_ARCH)/$${target}"; \ + "dest/usr/lib/$(OH_HOST_ARCH)/$${target}" && \ + rmdir "dest/usr/$(OH_HOST_ARCH_GNU)/$${target_arch_gnu}" && \ + rmdir "dest/usr/$(OH_HOST_ARCH_GNU)"; \ done # Remove static library dependency metadata generated by libtool. rm -f dest/usr/lib/$(OH_HOST_ARCH)/*.la |