Use pkg-config for libdeltachat too

This commit is contained in:
2019-04-11 20:20:20 +01:00
parent 1e16cf3927
commit ec838c6514

View File

@@ -11,12 +11,11 @@ $(LIB_TARGET): *.c *.h Makefile
-std=c11 \
-shared \
-fpic \
$(shell $(PKG_CONFIG) --cflags purple libcurl) \
$(shell $(PKG_CONFIG) --cflags purple libcurl deltachat) \
-o $(LIB_TARGET) \
*.c \
-shared \
$(shell $(PKG_CONFIG) --libs purple libcurl) \
-ldeltachat
$(shell $(PKG_CONFIG) --libs purple libcurl deltachat) \
install:
install -D $(LIB_TARGET) $(LIB_DEST)