From 38c6917644910b10f9b99d0c99c332b5405909aa Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Mon, 10 Nov 2025 23:58:42 +0200 Subject: [PATCH] janus: pkg-config --- janus/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/janus/Makefile b/janus/Makefile index 469f10b..24c917f 100644 --- a/janus/Makefile +++ b/janus/Makefile @@ -10,8 +10,8 @@ LDFLAGS ?= # ===== _PLUGIN = libjanus_ustreamer.so -_CFLAGS = -fPIC -MD -c -std=c17 -Wall -Wextra -D_GNU_SOURCE $(shell $(PKG_CONFIG) --cflags glib-2.0) $(CFLAGS) -_LDFLAGS = -shared -lm -pthread -lrt -ljansson -lopus -lasound -lspeexdsp $(shell $(PKG_CONFIG) --libs glib-2.0) $(LDFLAGS) +_CFLAGS = -fPIC -MD -c -std=c17 -Wall -Wextra -D_GNU_SOURCE $(shell $(PKG_CONFIG) --cflags janus-gateway) $(CFLAGS) +_LDFLAGS = -shared -lm -pthread -lrt -ljansson -lopus -lasound -lspeexdsp $(shell $(PKG_CONFIG) --libs janus-gateway) $(LDFLAGS) _SRCS = $(shell ls src/uslibs/*.c src/*.c)