From 1da604d27d428caa18823dc695ce18524d7df54f Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 19 Apr 2013 17:08:38 +0200 Subject: [PATCH] Allow building in a separate directory --- src/libsodium/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libsodium/Makefile.am b/src/libsodium/Makefile.am index 08eea70f..7570a45f 100644 --- a/src/libsodium/Makefile.am +++ b/src/libsodium/Makefile.am @@ -166,7 +166,8 @@ libsodium_la_LDFLAGS = \ libsodium_la_CPPFLAGS = \ $(LTDLINCL) \ - -I$(top_srcdir)/src/libsodium/include/sodium + -I$(srcdir)/include/sodium \ + -I$(builddir)/include/sodium SUBDIRS = \ include