Commit a081c15148e8ae0d8149dadd8aad85b1c266362c
1 parent
86412402
Add libgpg-error flags (#9)
Apparently just libgcrypt-config isn't enough on some platforms.
Showing
1 changed file
with
4 additions
and
2 deletions
libpurple/Makefile
... | ... | @@ -14,9 +14,11 @@ endif |
14 | 14 | CXX ?= g++ |
15 | 15 | CXXFLAGS = -g -Wall -shared -fPIC \ |
16 | 16 | -DHAVE_INTTYPES_H -DHAVE_CONFIG_H -DPURPLE_PLUGINS \ |
17 | - `pkg-config --cflags purple` `libgcrypt-config --cflags` $(THRIFT_CXXFLAGS) | |
17 | + `pkg-config --cflags purple` `libgcrypt-config --cflags` `gpg-error-config --cflags` \ | |
18 | + $(THRIFT_CXXFLAGS) | |
18 | 19 | |
19 | -LIBS = `pkg-config --libs purple` `libgcrypt-config --libs` $(THRIFT_LIBS) | |
20 | +LIBS = `pkg-config --libs purple` `libgcrypt-config --libs` `gpg-error-config --libs` \ | |
21 | + $(THRIFT_LIBS) | |
20 | 22 | |
21 | 23 | PURPLE_PLUGIN_DIR:=$(shell pkg-config --variable=plugindir purple) |
22 | 24 | PURPLE_DATA_ROOT_DIR:=$(shell pkg-config --variable=datarootdir purple) | ... | ... |