diff --git a/ppkg b/ppkg index 96d1bd9..16d7dfd 100755 --- a/ppkg +++ b/ppkg @@ -5820,18 +5820,22 @@ $PACKAGE_DO12345 run bsdtar xvf "$FILENAME" -C "$TARGET_PLATFORM_SPEC" done - #run rm -rf "$TARGET_PLATFORM_SPEC/bin" - #run rm -rf "$TARGET_PLATFORM_SPEC/usr/bin" - #run rm -rf "$TARGET_PLATFORM_SPEC/sbin" - #run rm -rf "$TARGET_PLATFORM_SPEC/usr/sbin" + cd "$TARGET_PLATFORM_SPEC/usr/lib" # https://github.com/mesonbuild/meson/issues/5390 - printf '%s\n' 'INPUT(-lc)' > "$TARGET_PLATFORM_SPEC/usr/lib/libdl.a" - printf '%s\n' 'INPUT(-lc)' > "$TARGET_PLATFORM_SPEC/usr/lib/librt.a" - printf '%s\n' 'INPUT(-lc)' > "$TARGET_PLATFORM_SPEC/usr/lib/libcrypt.a" - printf '%s\n' 'INPUT(-lc++)' > "$TARGET_PLATFORM_SPEC/usr/lib/libstdc++.a" - printf '%s\n' 'INPUT(-lcompiler_rt -lc++abi)' > "$TARGET_PLATFORM_SPEC/usr/lib/libgcc.a" - printf '%s\n' 'INPUT(-lcompiler_rt -lc++abi)' > "$TARGET_PLATFORM_SPEC/usr/lib/libgcc_s.a" + printf '%s\n' 'INPUT(-lc)' > libdl.a + printf '%s\n' 'INPUT(-lc)' > librt.a + printf '%s\n' 'INPUT(-lc)' > libcrypt.a + printf '%s\n' 'INPUT(-lc++)' > libstdc++.a + printf '%s\n' 'INPUT(-lcompiler_rt -lc++abi)' > libgcc.a + printf '%s\n' 'INPUT(-lcompiler_rt -lc++abi)' > libgcc_s.a + + for f in lib*.so.* + do + ln -s "$f" "${f%.so.*}.so" + done + + cd - run touch "$TARGET_PLATFORM_SPEC/ok" ;; @@ -9251,7 +9255,7 @@ fi fi } -PPKG_VERSION=0.10.0 +PPKG_VERSION=0.10.1 PPKG_ARG0="$0" PPKG_ARG1="$1"