Improve build instructions for osslsigncode, fixes #12 (#15)

fixes #12

* Switch to using PKG_CONFIG_PATH instead of LDFLAGS and CPPFLAGS
This commit is contained in:
Randy Fay 2019-07-28 06:11:53 -06:00 committed by Michał Trojnara
parent 764fec5bd1
commit dc0b2d7273

View File

@ -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, the timestamp through a proxy as well. It also supports signature verification,
removal and extraction. 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 ./configure
make make
make install 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 ## USAGE
Before you can sign a file you need a Software Publishing Before you can sign a file you need a Software Publishing