]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2198] Build threads directory first because . depends on it
authorMukund Sivaraman <muks@isc.org>
Tue, 9 Oct 2012 20:04:36 +0000 (01:34 +0530)
committerMukund Sivaraman <muks@isc.org>
Tue, 9 Oct 2012 20:04:36 +0000 (01:34 +0530)
src/lib/util/Makefile.am

index 13f8f7b595bccc0327f605a9d0929b535549d656..23d140a7b9cfb277fa0d2f213146f3367b69c0d3 100644 (file)
@@ -1,4 +1,5 @@
-SUBDIRS = . io unittests tests pyunittests python threads
+# InterprocessSyncFile has a dependency on isc::util::thread::Mutex
+SUBDIRS = threads . io unittests tests pyunittests python
 
 AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
 AM_CPPFLAGS += -I$(top_srcdir)/src/lib/util -I$(top_builddir)/src/lib/util
@@ -31,7 +32,8 @@ libb10_util_la_SOURCES += random/random_number_generator.h
 
 EXTRA_DIST = python/pycppwrapper_util.h
 
-libb10_util_la_LIBADD = $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
+libb10_util_la_LIBADD =  $(top_builddir)/src/lib/exceptions/libb10-exceptions.la
+libb10_util_la_LIBADD += $(top_builddir)/src/lib/util/threads/libb10-threads.la
 CLEANFILES = *.gcno *.gcda
 
 libb10_util_includedir = $(includedir)/$(PACKAGE_NAME)/util