Try a combination too. master
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 18 Oct 2012 09:50:54 +0000 (11:50 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 18 Oct 2012 09:50:54 +0000 (11:50 +0200)
Makefile

index 01ae45a..ce434c6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,9 @@ libtest.so: module.o
        $(CC) $(LDFLAGS) -shared -fPIC -DPIC -Wl,-soname -Wl,libtest.so.$(LT_MAJ) $< -o $@.$(LT_VER)
        ln -s $@.$(LT_VER) $@
 
+libtest2.la: module.o
+       $(LINK) -shared -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -rpath /usr/lib $< -o $@
+
 %.lo: %.c
        $(COMPILE) -c $<