Skip to content

Commit

Permalink
chore: attempt 15/1231823 trying to build binary as release artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
karkowg committed Nov 11, 2024
1 parent 687ea37 commit 449c0fb
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions build-mupdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,21 @@ mkdir -p "$target_dir"
fi
make HAVE_X11=no HAVE_GLUT=no prefix=../../install_${OS}_${ARCH} install
else
if [[ "$ARCH" == "x86_64" ]]; then
export CC="clang"
export XCFLAGS="-arch x86_64"
export XLDFLAGS="-L/usr/local/lib -lX11 -lGL"
# if [[ "$ARCH" == "x86_64" ]]; then
# export CC="clang"
# export XCFLAGS="-arch x86_64"
# export XLDFLAGS="-L/usr/local/lib -lX11 -lGL"
# elif [[ "$ARCH" == "arm64" ]]; then
# export CC="clang"
# export XCFLAGS="-arch arm64"
# export XLDFLAGS="-L/usr/local/lib -lX11 -lGL"
fi
# fi
make HAVE_X11=no HAVE_GLUT=no prefix=../../install_${OS}_${ARCH} install
fi
)
)

cp ./build/${OS}_${ARCH}/mupdf-${VERSION}-source/bin/mutool ./bin/mutool_${OS}_${ARCH}
ls -la
ls -la build
# cp ./build/${OS}_${ARCH}/mupdf-${VERSION}-source/bin/mutool ./bin/mutool_${OS}_${ARCH}
cp ./build/install_${OS}_${ARCH}/bin/mutool ./bin/mutool_${OS}_${ARCH}

0 comments on commit 449c0fb

Please sign in to comment.