Skip to content

Commit 38c6917

Browse files
committed
janus: pkg-config
1 parent 05a5d3f commit 38c6917

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

janus/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ LDFLAGS ?=
1010
# =====
1111
_PLUGIN = libjanus_ustreamer.so
1212

13-
_CFLAGS = -fPIC -MD -c -std=c17 -Wall -Wextra -D_GNU_SOURCE $(shell $(PKG_CONFIG) --cflags glib-2.0) $(CFLAGS)
14-
_LDFLAGS = -shared -lm -pthread -lrt -ljansson -lopus -lasound -lspeexdsp $(shell $(PKG_CONFIG) --libs glib-2.0) $(LDFLAGS)
13+
_CFLAGS = -fPIC -MD -c -std=c17 -Wall -Wextra -D_GNU_SOURCE $(shell $(PKG_CONFIG) --cflags janus-gateway) $(CFLAGS)
14+
_LDFLAGS = -shared -lm -pthread -lrt -ljansson -lopus -lasound -lspeexdsp $(shell $(PKG_CONFIG) --libs janus-gateway) $(LDFLAGS)
1515

1616
_SRCS = $(shell ls src/uslibs/*.c src/*.c)
1717

0 commit comments

Comments
 (0)