]> git.meshlink.io Git - meshlink/commitdiff
trying to fix linking issues
authorSaverio Proto <zioproto@gmail.com>
Thu, 3 Apr 2014 12:38:18 +0000 (14:38 +0200)
committerSaverio Proto <zioproto@gmail.com>
Thu, 3 Apr 2014 12:38:18 +0000 (14:38 +0200)
configure.ac
src/Makefile.am
src/have.h

index 32b618c5fe05e923105a9169a37f3f760b52f303..eac662787e3e8389f705814d508aa3511c2b6ae0 100644 (file)
@@ -148,6 +148,7 @@ AS_IF([test "x$enable_hardening" != "xno"],
        ;;
      *)
        AX_CHECK_COMPILE_FLAG([-fPIE], [CPPFLAGS="$CPPFLAGS -fPIE"])
+       AX_CHECK_COMPILE_FLAG([-fPIC], [CPPFLAGS="$CPPFLAGS -fPIC"])
        AX_CHECK_LINK_FLAG([-pie], [LDFLAGS="$LDFLAGS -pie"])
        ;;
    esac
index 26d4474a6af5ed046ff0611d04e08c443a00f50f..31dfae5ee19e4dee3fa40439a28799e00d8eaf56 100644 (file)
@@ -109,7 +109,7 @@ libmeshlink_la_SOURCES = \
 libmeshlink_la_CFLAGS = -fPIC
 
 libmeshlink_la_LIBADD = \
-       protocol.o 
+       protocol.o protocol_auth.o
 
 ## Conditionally compile device drivers
        
index 85479f75de2ed7688c105c2e878eb2036e43e90b..4d9a97bd630ba1b9bc93954dee31b791920088cc 100644 (file)
 #define SLASH "/"
 #endif
 
+#define CONFDIR "/etc/"
+#define LOCALSTATEDIR "/var/"
+
 #endif /* __TINC_SYSTEM_H__ */