]> git.meshlink.io Git - meshlink/commitdiff
Fixing autotools
authorSaverio Proto <zioproto@gmail.com>
Wed, 2 Apr 2014 16:22:36 +0000 (18:22 +0200)
committerSaverio Proto <zioproto@gmail.com>
Wed, 2 Apr 2014 17:26:27 +0000 (19:26 +0200)
configure.ac
src/Makefile.am

index 4059f60decff836b7ba7394693e2783c1dc23c77..32b618c5fe05e923105a9169a37f3f760b52f303 100644 (file)
@@ -18,6 +18,7 @@ AC_PROG_CC_C99
 AC_PROG_CPP
 AC_PROG_INSTALL
 AC_PROG_LN_S
+AC_PROG_LIBTOOL
 
 AM_PROG_CC_C_O
 
index ed0c27a57a4d8ef2a3b76d64ab7a42f2f83b96c0..6c2ab9a9567cdbb1e342085acd79a0d08e822d75 100644 (file)
@@ -70,7 +70,6 @@ tincd_SOURCES = \
        xalloc.h
 
 tinc_SOURCES = \
-       libmeshlink.c libmeshlink.h \
        dropin.c dropin.h \
        getopt.c getopt.h \
        getopt1.c \
@@ -98,6 +97,10 @@ sptps_speed_SOURCES = \
        sptps_speed.c \
        utils.c utils.h
 
+lib_LTLIBRARIES = libmeshlink.la
+
+libmeshlink_la_SOURCES = \
+       libmeshlink.c libmeshlink.h
 
 ## Conditionally compile device drivers