From dc0b2d7273529ef235f519e573ce3ccb9e07b500 Mon Sep 17 00:00:00 2001 From: Randy Fay Date: Sun, 28 Jul 2019 06:11:53 -0600 Subject: [PATCH] Improve build instructions for osslsigncode, fixes #12 (#15) fixes #12 * Switch to using PKG_CONFIG_PATH instead of LDFLAGS and CPPFLAGS --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b51da3b..a0d6bd7 100644 --- a/README.md +++ b/README.md @@ -25,15 +25,23 @@ valid signature for a CAB file containing Java files. It supports getting the timestamp through a proxy as well. It also supports signature verification, removal and extraction. -## INSTALLATION +## BUILDING -The usual way: +This build technique works on Linux and macOS, if you have the necessary tools installed: ``` + ./autogen.sh ./configure make make install ``` +* On Linux, (tested on Debian/Ubuntu) you may need `sudo apt-get update && sudo apt-get install build-essential autoconf libtool libssl-dev python3-pkgconfig libcurl4-gnutls-dev` +* On macOS with Homebrew, you probably need to do these things before autogen.sh and configure: +``` + brew install openssl@1.1 automake pkg-config libtool + export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig" +``` + ## USAGE Before you can sign a file you need a Software Publishing