Use pkg-config for libdeltachat too
This commit is contained in:
5
Makefile
5
Makefile
@@ -11,12 +11,11 @@ $(LIB_TARGET): *.c *.h Makefile
|
|||||||
-std=c11 \
|
-std=c11 \
|
||||||
-shared \
|
-shared \
|
||||||
-fpic \
|
-fpic \
|
||||||
$(shell $(PKG_CONFIG) --cflags purple libcurl) \
|
$(shell $(PKG_CONFIG) --cflags purple libcurl deltachat) \
|
||||||
-o $(LIB_TARGET) \
|
-o $(LIB_TARGET) \
|
||||||
*.c \
|
*.c \
|
||||||
-shared \
|
-shared \
|
||||||
$(shell $(PKG_CONFIG) --libs purple libcurl) \
|
$(shell $(PKG_CONFIG) --libs purple libcurl deltachat) \
|
||||||
-ldeltachat
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -D $(LIB_TARGET) $(LIB_DEST)
|
install -D $(LIB_TARGET) $(LIB_DEST)
|
||||||
|
Reference in New Issue
Block a user