configure: Check for and explicitly link against -latomic
Some C libraries, such as uClibc, require an explicit link for some atomic functions. Check for any libatomic, and explcily link it.
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ pki_SOURCES = pki.c pki.h command.c command.h \
|
||||
|
||||
pki_LDADD = \
|
||||
$(top_builddir)/src/libstrongswan/libstrongswan.la \
|
||||
$(PTHREADLIB) $(DLLIB)
|
||||
$(PTHREADLIB) $(ATOMICLIB) $(DLLIB)
|
||||
|
||||
pki.o : $(top_builddir)/config.status
|
||||
|
||||
|
||||
Reference in New Issue
Block a user