From 6b056c58a4ba49455842e7b85dbd60b60e0e963f Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Wed, 20 Nov 2013 20:24:37 -0500 Subject: [PATCH] Update use for CFLAGS. --- libmemcached/include.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libmemcached/include.am b/libmemcached/include.am index 0aabc248..4c9af213 100644 --- a/libmemcached/include.am +++ b/libmemcached/include.am @@ -2,7 +2,7 @@ # included from Top Level Makefile.am # All paths should be given relative to the root -libmemcached_libmemcached_la_SOURCES = +libmemcached_libmemcached_la_SOURCES= include libmemcached/csl/include.am @@ -56,8 +56,11 @@ lib_LTLIBRARIES+= libmemcached/libmemcached.la EXTRA_libmemcached_libmemcached_la_DEPENDENCIES= libmemcached_libmemcached_la_LIBADD= libmemcached_libmemcached_la_LDFLAGS= -libmemcached_libmemcached_la_CFLAGS= -DBUILDING_LIBMEMCACHED -libmemcached_libmemcached_la_CXXFLAGS= -DBUILDING_LIBMEMCACHED +libmemcached_libmemcached_la_CFLAGS= +libmemcached_libmemcached_la_CXXFLAGS= + +libmemcached_libmemcached_la_CFLAGS+= -DBUILDING_LIBMEMCACHED +libmemcached_libmemcached_la_CXXFLAGS+= -DBUILDING_LIBMEMCACHED if BUILD_WIN32 libmemcached_libmemcached_la_CFLAGS+= -DBUILDING_HASHKIT @@ -125,6 +128,7 @@ libmemcached_libmemcached_la_LDFLAGS+= -version-info ${MEMCACHED_LIBRARY_VERSION libmemcached_libmemcached_la_LIBADD+= @DL_LIB@ if HAVE_SASL +libmemcached_libmemcached_la_CFLAGS+= @PTHREAD_CFLAGS@ libmemcached_libmemcached_la_CXXFLAGS+= @PTHREAD_CFLAGS@ libmemcached_libmemcached_la_LIBADD+= @PTHREAD_LIBS@ libmemcached_libmemcached_la_LIBADD+= @LIBSASL_LIB@ -- 2.30.2