tmux: update to 2.9
[openadk.git] / package / supl / patches / patch-src_Makefile
blobcec5a4771cc50fbfe1c9d547bcdb4deef080eb48
1         - use pkg-config everywhere, otherwise libs are not found
2 --- trunk.orig/src/Makefile     2011-10-17 20:09:22.000000000 +0200
3 +++ trunk/src/Makefile  2015-02-09 16:48:37.244935714 +0100
4 @@ -21,10 +21,10 @@ DIST = Makefile $(PROGRAM_SOURCE) $(SUPL
5  all: supl-client supl-proxy supl-cert
6  
7  supl-client: libsupl.so supl-client.o
8 -       $(CC) -o $@ supl-client.o -L. -lsupl -lssl -lm
9 +       $(CC) -o $@ supl-client.o -L. -lsupl $(shell pkg-config --libs openssl) -lm
11  supl-proxy: libsupl.so supl-proxy.o
12 -       $(CC) -o $@ supl-proxy.o -L. -lsupl -lssl -lm
13 +       $(CC) -o $@ supl-proxy.o -L. -lsupl $(shell pkg-config --libs openssl) -lm
15  supl-cert: supl-cert.o
16         $(CC) -o $@ supl-cert.o $(shell pkg-config --libs openssl) -lm