summaryrefslogtreecommitdiff
path: root/package/supl/patches/patch-src_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:19:12 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:19:12 +0100
commitf2ea9e8dbd4cc3c77ff4cc52688d7057d3289fab (patch)
tree72ec81acffa69f2c89e52a38603a6f92fb1e72ae /package/supl/patches/patch-src_Makefile
parentdce7d2df8c73896aeef77118fe89fc7e88d035fe (diff)
parent0943b7422376747a452bda5562c73d673cccbe68 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/supl/patches/patch-src_Makefile')
-rw-r--r--package/supl/patches/patch-src_Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/supl/patches/patch-src_Makefile b/package/supl/patches/patch-src_Makefile
new file mode 100644
index 000000000..cec5a4771
--- /dev/null
+++ b/package/supl/patches/patch-src_Makefile
@@ -0,0 +1,16 @@
+ - use pkg-config everywhere, otherwise libs are not found
+--- trunk.orig/src/Makefile 2011-10-17 20:09:22.000000000 +0200
++++ trunk/src/Makefile 2015-02-09 16:48:37.244935714 +0100
+@@ -21,10 +21,10 @@ DIST = Makefile $(PROGRAM_SOURCE) $(SUPL
+ all: supl-client supl-proxy supl-cert
+
+ supl-client: libsupl.so supl-client.o
+- $(CC) -o $@ supl-client.o -L. -lsupl -lssl -lm
++ $(CC) -o $@ supl-client.o -L. -lsupl $(shell pkg-config --libs openssl) -lm
+
+ supl-proxy: libsupl.so supl-proxy.o
+- $(CC) -o $@ supl-proxy.o -L. -lsupl -lssl -lm
++ $(CC) -o $@ supl-proxy.o -L. -lsupl $(shell pkg-config --libs openssl) -lm
+
+ supl-cert: supl-cert.o
+ $(CC) -o $@ supl-cert.o $(shell pkg-config --libs openssl) -lm