AMIGAOS: Use pthreads from SDK instead of OS4depot

OS4depot one is completely obsolete
This commit is contained in:
Le Philousophe
2021-05-15 10:59:39 +00:00
parent 7b0f3d7cd5
commit 35aeafbebe
4 changed files with 21 additions and 14 deletions
-1
View File
@@ -75,7 +75,6 @@ local_package(codesets)
local_package(libopenssl)
# Needed by precompiled libcurl
local_package(pthreads)
local_package(librtmp)
local_package(libcurl)
@@ -1,13 +0,0 @@
#! /bin/sh
PACKAGE_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
HELPERS_DIR=$PACKAGE_DIR/../..
. $HELPERS_DIR/functions.sh
do_make_bdir
do_lha_fetch misc/pthreads "SDK"
do_lha_install
do_clean_bdir
@@ -27,6 +27,8 @@ HOME="$(pwd)" gild/bin/gild checkout gcc "${GCC_VER}"
do_make -C native-build gcc-cross
do_make -C native-build additionals-libs
# Fix missing rights for library files
chmod -R go+rX "${CROSS_PREFIX}"
@@ -0,0 +1,19 @@
commit dc599576c9238edcfb92fe3efe023205c3e49544
Author: Le Philousophe <lephilousophe@users.noreply.github.com>
Date: Tue May 11 18:53:22 2021 +0200
Fix additional libs for SDK 53.30
diff --git a/native-build/makefile b/native-build/makefile
index 7cab4f4..05b2c4f 100644
--- a/native-build/makefile
+++ b/native-build/makefile
@@ -205,7 +205,7 @@ additionals-libs:
mkdir -p $(CROSS_PREFIX)/ppc-amigaos/SDK/local/common/include
mkdir -p /tmp/abcd
cd downloads && lha xw=/tmp/abcd SDK_$(SDK_VERSION).lha
- cd /tmp/abcd/SDK_Install && lha x pthread.lha && lha x zlib-1.2.3.lha
+ cd /tmp/abcd/SDK_Install && lha x pthreads-53.11.lha
cp -Rf /tmp/abcd/SDK_Install/Local/* $(CROSS_PREFIX)/ppc-amigaos/SDK/local
rm -Rf /tmp/abcd