]> git.ipfire.org Git - thirdparty/tor.git/commit
Use package-config output for -lsystemd correctly
authorNick Mathewson <nickm@torproject.org>
Tue, 6 Jan 2015 19:05:35 +0000 (14:05 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 6 Jan 2015 19:07:13 +0000 (14:07 -0500)
commitfcc78e5f8a3249eadfea31db1aca6884b31c1873
tree3a3d576693c151d6395d13579c88915416999056
parentcf2ac8e2556849fdcace74adf36da876f86af30a
Use package-config output for -lsystemd correctly

In systemd 209, they deprecated -lsystemd-daemon in favor of
-lsystemd.  So we'd better actually look at the pkg-config output,
or we'll get warnings on newer distributions.

For some as-yet-unknown-to-me reason, setting CFLAGS so early makes
it so -O2 -g doesn't get added to it later.  So, adding it myself
later.  Perhaps a better fix here can be found.

Fixes 14072; bugfix on 0.2.6.2-alpha.  Based on a patch from h.venev
changes/bug14072 [new file with mode: 0644]
configure.ac