Merge branch 'more-pkg-config' into 'master'

Use pkg-config for libdeltachat too

See merge request lupine/purple-plugin-delta!8
This commit is contained in:
2019-04-11 19:26:09 +00:00

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)