--- /dev/null
+libmcc: build with versioned soname
+
+This adds a versioned soname to the shared library during linking.
+Otherwise an application linked with '-lmcc' needs libmcc.so for execution,
+having libmcc.so.1 would not be enough.
+
+Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
+--- a/Makefile 2015-01-07 17:09:13.657675270 +0100
++++ b/Makefile 2015-01-07 17:21:19.457545709 +0100
+@@ -8,7 +8,7 @@
+ $(AR) rcs $@ $<
+
+ build/libmcc.so.1.0: build/libmcc.o
+- $(CC) -shared -o $@ $<
++ $(CC) -shared -Wl,-soname,libmcc.so.1 -o $@ $< -lc
+
+ install:
+ mkdir -p $(DESTDIR)/usr/include $(DESTDIR)/usr/lib
DEPENDS = "kernel-module-mcc"
SRC_URI = "http://repository.timesys.com/buildsources/l/libmcc/libmcc-${PV}/libmcc-${PV}.tar.bz2 \
- file://build-Fix-symlink-generation.patch"
+ file://build-Fix-symlink-generation.patch \
+ file://build-with-versioned-soname.patch"
SRC_URI[md5sum] = "cc3965f162dd20b8e6b9babf5dd963ee"
SRC_URI[sha256sum] = "b98c1f857bf851e41c35c4fcdb823e83e0e058c746dffb50038c8759c8c1e104"