On 08/02/2013 10:38 AM, Alexander Aring wrote: > Signed-off-by: Alexander Aring > --- > ...ap-enable-shared-lib-and-install-examples.patch | 109 +++++++++++++++++++++ > patches/libcoap-4.0.1/series | 1 + > rules/libcoap.in | 10 ++ > rules/libcoap.make | 61 ++++++++++++ > 4 files changed, 181 insertions(+) > create mode 100644 patches/libcoap-4.0.1/0001-libcoap-enable-shared-lib-and-install-examples.patch > create mode 100644 patches/libcoap-4.0.1/series > create mode 100644 rules/libcoap.in > create mode 100644 rules/libcoap.make > > diff --git a/patches/libcoap-4.0.1/0001-libcoap-enable-shared-lib-and-install-examples.patch b/patches/libcoap-4.0.1/0001-libcoap-enable-shared-lib-and-install-examples.patch > new file mode 100644 > index 0000000..71c36c8 > --- /dev/null > +++ b/patches/libcoap-4.0.1/0001-libcoap-enable-shared-lib-and-install-examples.patch > @@ -0,0 +1,109 @@ > +From fe64f998eeb5d2a693400188b275007ce263fc87 Mon Sep 17 00:00:00 2001 > +From: unknown author Who created the patch in the first place? > +Date: Fri, 2 Aug 2013 10:25:26 +0200 > +Subject: [PATCH] libcoap: enable shared lib and install examples > + > +Normally the buildsystem generates a static library. > +This patch let generate the buildsystem a shared library and add > +a install rule to the Makefile so we can install it on the system. > + > +Add also install rule for the examples and linking to the shared library. > + > +Signed-off-by: Alexander Aring > +--- > + Makefile.in | 21 +++++++++++++++++---- > + examples/Makefile.in | 7 ++++++- > + 2 files changed, 23 insertions(+), 5 deletions(-) > + > +diff --git a/Makefile.in b/Makefile.in > +index 0ded496..21564aa 100644 > +--- a/Makefile.in > ++++ b/Makefile.in Argh, autoconf without automake. Not your fault ... What about creating a proper automake'd version of libcoap? Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |