diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 0ba06f4bb..5fa6e907e 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am | |||
@@ -123,6 +123,12 @@ libgnunetutil_la_SOURCES = \ | |||
123 | speedup.c speedup.h \ | 123 | speedup.c speedup.h \ |
124 | proc_compat.c | 124 | proc_compat.c |
125 | 125 | ||
126 | if HAVE_LIBATOMIC | ||
127 | LIBATOMIC= -latomic | ||
128 | else | ||
129 | LIBATOMIC= | ||
130 | endif | ||
131 | |||
126 | if HAVE_LIBIDN | 132 | if HAVE_LIBIDN |
127 | LIBIDN= -lidn | 133 | LIBIDN= -lidn |
128 | else | 134 | else |
@@ -137,6 +143,7 @@ endif | |||
137 | 143 | ||
138 | libgnunetutil_la_LIBADD = \ | 144 | libgnunetutil_la_LIBADD = \ |
139 | $(GCLIBADD) $(WINLIB) \ | 145 | $(GCLIBADD) $(WINLIB) \ |
146 | $(LIBATOMIC) \ | ||
140 | $(LIBGCRYPT_LIBS) \ | 147 | $(LIBGCRYPT_LIBS) \ |
141 | $(LTLIBICONV) \ | 148 | $(LTLIBICONV) \ |
142 | $(LTLIBINTL) \ | 149 | $(LTLIBINTL) \ |