]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Makefile: fix libatomic_ops linking
authorSage Weil <sage.weil@dreamhost.com>
Thu, 24 Feb 2011 13:49:29 +0000 (05:49 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Thu, 24 Feb 2011 13:49:29 +0000 (05:49 -0800)
LDADD seems to have no effect on the final link command.  Switching this
back to AM_LDFLAGS.  This was changed as in 1c7d8f1ac2c, although it's not
clear that the change was intentional...

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/Makefile.am

index c175244527f437a2e987633137c025fba671d713..948811b440bd4f40988be7c711cffe582cc3618b 100644 (file)
@@ -409,7 +409,7 @@ AM_CFLAGS = -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE
 AM_LDFLAGS = -Wl,--as-needed
 
 if WITH_LIBATOMIC
-LDADD += -latomic_ops
+AM_LDFLAGS += -latomic_ops
 endif
 
 noinst_LIBRARIES = \