]> git.proxmox.com Git - pve-firewall.git/commitdiff
logger: drop gthread dependency
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 6 Feb 2017 11:07:23 +0000 (12:07 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 6 Feb 2017 11:07:24 +0000 (12:07 +0100)
g_thread_new is part of glib directly, libgthread only
contains the deprecated g_thread_init() & friends which we
do not use.
This silences a build warning.

src/Makefile

index 74ae7fdcece7f8db8cd212337dabbc7a8cc97fe6..ed74393cd448093b054a9409fd2e6073154ecce5 100644 (file)
@@ -25,7 +25,7 @@ LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 pvefw-logger: pvefw-logger.c
        gcc -Wall -Werror pvefw-logger.c -o pvefw-logger -std=gnu99 \
        $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \
-       $(shell pkg-config libnetfilter_log glib-2.0 gthread-2.0 --libs --cflags)
+       $(shell pkg-config libnetfilter_log glib-2.0 --libs --cflags)
 
 .PHONY: install
 install: pve-firewall pve-firewall.8 pve-firewall.bash-completion pvefw-logger