Skip to content

Files

Latest commit

3571686 · Dec 5, 2022

History

History
This branch is 182 commits ahead of p3ck/restraint:master.

third-party

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 5, 2022
Feb 12, 2013
Feb 5, 2020
May 11, 2022
Jul 29, 2021
Aug 17, 2017
Feb 5, 2020
Aug 7, 2014
Jan 8, 2015
Dec 12, 2013
Aug 7, 2014
By default, restraint is dynamically linked against system-wide libraries. 
However if you are targetting an older operating system which lacks the 
necessary libraries, or if you want to reduce runtime dependencies, restraint 
can be statically linked against bundled copies of the libraries.

First, use the Makefile in this third-party directory to compile the needed 
static libraries. They will be installed under third-party/tree.

Then, you can build restraint against these static libraries:

    PKG_CONFIG_PATH=third-party/tree/lib/pkgconfig make STATIC=1

When running tests, you should also pass the path to the gtester binary:

    PKG_CONFIG_PATH=third-party/tree/lib/pkgconfig \
    GTESTER=third-party/tree/bin/gtester make check