1
0

003-use-pkgconfig-ldflags-quasselc.patch 461 B

12345678910111213
  1. diff --git a/core/Makefile b/core/Makefile
  2. index 2f81417..aa62201 100644
  3. --- a/core/Makefile
  4. +++ b/core/Makefile
  5. @@ -23,7 +23,7 @@ ifndef SYSTEM_QUASSELC
  6. QUASSELC_FLAGS:=-Ilib
  7. else
  8. QUASSELC_FLAGS:=$(shell pkg-config --cflags quasselc)
  9. - LDFLAGS += -lquasselc
  10. + LDFLAGS += $(shell pkg-config --libs quasselc)
  11. endif
  12. CFLAGS+=-std=gnu11 -Wall -Wextra -Werror -g -O2 $(IRSSI_CFLAGS) $(QUASSELC_FLAGS) -Wmissing-prototypes -Wmissing-declarations