mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: allow using a host-installed sysprofd
In case we are building in a flatpak, we might want to rely on a system installed sysprofd. This means we might want to pretend we have sysprofd support (to be found on the system), but not actually build sysprofd.
This commit is contained in:
@ -107,9 +107,9 @@ libsysprof_@API_VERSION@_la_LIBADD = \
|
||||
$(GIO_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
if ENABLE_SYSPROFD
|
||||
if ENABLE_POLKIT
|
||||
libsysprof_@API_VERSION@_la_LIBADD += $(POLKIT_LIBS)
|
||||
libsysprof_@API_VERSION@_la_CFLAGS += $(POLKIT_CFLAGS) -DENABLE_SYSPROFD
|
||||
libsysprof_@API_VERSION@_la_CFLAGS += $(POLKIT_CFLAGS) -DENABLE_POLKIT
|
||||
endif
|
||||
|
||||
libsysprof_@API_VERSION@_la_LDFLAGS = \
|
||||
|
||||
Reference in New Issue
Block a user