Skip to content

Commit

Permalink
try 1 cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed May 21, 2024
1 parent 3de05ea commit 0053ead
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions osslsigncode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ _VER="$1"
(
cd "${_NAM}" || exit 0

gcc -O3 \
osslsigncode.c helpers.c utf.c msi.c pe.c cab.c cat.c appx.c script.c \
-o ../osslsigncode-local \
-DHAVE_SYS_MMAN_H \
-lcrypto -lz
cmake -B "${_BLDDIR}"

make --directory="${_BLDDIR}" --jobs="${_JOBS}" install "DESTDIR=$(pwd)/${_PKGDIR}"

cp -f -p "${_PP}"/bin/osslsigncode ../osslsigncode-local

../osslsigncode-local --version
)

0 comments on commit 0053ead

Please sign in to comment.