Skip to content

Commit

Permalink
Better libs decalration in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
paullouisageneau committed Dec 8, 2019
1 parent bc0666b commit 585450d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ RM=rm -f
CPPFLAGS=-O2 -pthread -fPIC -Wall -Wno-address-of-packed-member
CXXFLAGS=-std=c++17
LDFLAGS=-pthread
LDLIBS= -lgnutls $(shell pkg-config --libs glib-2.0 gobject-2.0 nice)
INCLUDES=-Iinclude/rtc -I$(USRSCTP_DIR)/usrsctplib $(shell pkg-config --cflags glib-2.0 gobject-2.0 nice)
LIBS=gnutls glib-2.0 gobject-2.0 nice
LDLIBS= $(shell pkg-config --libs $(LIBS))
INCLUDES=-Iinclude/rtc -I$(USRSCTP_DIR)/usrsctplib $(shell pkg-config --cflags $(LIBS))

USRSCTP_DIR:=usrsctp

Expand Down

0 comments on commit 585450d

Please sign in to comment.