From ee5e93366be7acecac2e0325b3b93ece98b8f350 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sat, 25 Apr 2020 11:23:52 +0200 Subject: [PATCH] fix 68k-only build (#106) --- interfaces-and-libraries.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/interfaces-and-libraries.sh b/interfaces-and-libraries.sh index 4e91cee8af..d5f67de273 100755 --- a/interfaces-and-libraries.sh +++ b/interfaces-and-libraries.sh @@ -209,16 +209,15 @@ function linkInterfacesAndLibraries() ln -sf ../RIncludes "$PREFIX/m68k-apple-macos/RIncludes" removeConflictingHeaders "$PREFIX/m68k-apple-macos/include" linkThings "../../$1/CIncludes" "$PREFIX/m68k-apple-macos/include" "*.h" + linkThings "../../$1/lib68k" "$PREFIX/m68k-apple-macos/lib" "*.a" fi if [ $BUILD_PPC != false ]; then ln -sf ../RIncludes "$PREFIX/powerpc-apple-macos/RIncludes" removeConflictingHeaders "$PREFIX/powerpc-apple-macos/include" linkThings "../../$1/CIncludes" "$PREFIX/powerpc-apple-macos/include" "*.h" + linkThings "../../$1/libppc" "$PREFIX/powerpc-apple-macos/lib" "*.a" fi - - linkThings "../../$1/lib68k" "$PREFIX/m68k-apple-macos/lib" "*.a" - linkThings "../../$1/libppc" "$PREFIX/powerpc-apple-macos/lib" "*.a" } function unlinkInterfacesAndLibraries()