--- a/core/Makefile +++ b/core/Makefile @@ -24,7 +24,7 @@ ifndef SYSTEM_QUASSELC QUASSELC_FLAGS:=-Ilib else QUASSELC_FLAGS:=$(shell pkg-config --cflags quasselc) - LDFLAGS += -lquasselc + LDFLAGS += $(shell pkg-config --libs quasselc) endif CFLAGS+=-std=gnu11 -Wall -Wextra -Werror -g $(IRSSI_CFLAGS) $(QUASSELC_FLAGS) -Wmissing-prototypes -Wmissing-declarations