summaryrefslogtreecommitdiff
path: root/Makefile-bwrap.am
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespacemastera13460542021-10-141-1/+0
| | | | Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com>
* build: put libraries in LDADD, not LDFLAGSSimon McVittie2016-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Automake linking looks like this (I'm simplifying a bit): $(CC) $(foo_CFLAGS) $(foo_LDFLAGS) -ofoo $(objects) $(foo_LDADD) The correct order is that if a library A is used to satisfy the symbol requirements of an object or library B, then A must come after B on the link line. Otherwise, static linking or linking with -Wl,--as-needed will fail. As a result, libraries and the -L options used to locate them should always be in LDADD (for executables) or LIBADD (for libraries), never in LDFLAGS. Ubuntu's linker defaults to the equivalent of -Wl,--as-needed, so this causes failure to build on Ubuntu, which can be reproduced with ./autogen.sh CC="gcc -Wl,--as-needed" && make on other distributions. Signed-off-by: Simon McVittie <smcv@debian.org> Closes: #75 Approved by: alexlarsson
* Add SELinux SupportDan Walsh2016-03-221-1/+1
| | | | | | | Signed-off-by: Dan Walsh <dwalsh@redhat.com> Pull request: #25 Approved by: alexlarsson
* Split out Makefile.am to allow use with git submodulesAlexander Larsson2016-02-291-0/+13