perf: polkit is optional for the library

So changing this was a little backwards. The goal here is to allow using
libsysprof-2 without polkit, it just won't have the ability to elevate
privileges.
This commit is contained in:
Christian Hergert
2016-04-16 17:13:56 -07:00
parent 74d88245c5
commit 4479c56135
2 changed files with 4 additions and 3 deletions

View File

@ -99,7 +99,6 @@ libsysprof_@API_VERSION@_la_SOURCES = \
libsysprof_@API_VERSION@_la_CFLAGS = \
-I$(srcdir)/util \
$(GIO_CFLAGS) \
$(POLKIT_CFLAGS) \
$(WARN_CFLAGS) \
$(NULL)
@ -107,7 +106,6 @@ libsysprof_@API_VERSION@_la_LIBADD = \
libutil.la \
-lstdc++ \
$(GIO_LIBS) \
$(POLKIT_LIBS) \
$(NULL)
if ENABLE_SYSPROFD