Include a pkg-config call for LDFLAGS.

This commit is contained in:
Philippe PITTOLI 2024-05-31 19:35:04 +02:00
parent 4ba5aa93f3
commit e20a917409

View File

@ -1,6 +1,6 @@
CC ?= cc
USR_LDFLAGS ?=
LDFLAGS ?= -lipc
LDFLAGS ?= $$(pkg-config --libs ipc)
LDFLAGS += $(USR_LDFLAGS)
LDFLAGS += $(STATIC_BUILD)
CFLAGS ?= -Wall -Wextra