This is an automated email from the ASF dual-hosted git repository.
jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 49bafe1 TS-4611: Fix the CPP API plugins to liba against
libatscppapi. (#764)
49bafe1 is described below
commit 49bafe1e8995710713f304fc0105facfe805ceaa
Author: James Peach <[email protected]>
AuthorDate: Tue Jun 28 20:24:20 2016 -0700
TS-4611: Fix the CPP API plugins to liba against libatscppapi. (#764)
---
lib/atscppapi/examples/Makefile.am | 33 +++++++++++++++++++++++++++++----
1 file changed, 29 insertions(+), 4 deletions(-)
diff --git a/lib/atscppapi/examples/Makefile.am
b/lib/atscppapi/examples/Makefile.am
index 33e12ea..f520f47 100644
--- a/lib/atscppapi/examples/Makefile.am
+++ b/lib/atscppapi/examples/Makefile.am
@@ -17,10 +17,6 @@
include $(top_srcdir)/build/plugins.mk
-AM_CXXFLAGS += -Wno-unused-variable
-AM_CPPFLAGS += -I$(top_srcdir)/$(subdir)/src/include
-AM_LDFLAGS = $(TS_PLUGIN_LDFLAGS)
-
plugins = \
AsyncHttpFetch.la \
AsyncHttpFetchStreaming.la \
@@ -51,6 +47,12 @@ else
noinst_LTLIBRARIES = $(plugins)
endif
+AM_CXXFLAGS += -Wno-unused-variable
+AM_CPPFLAGS += -I$(top_srcdir)/$(subdir)/src/include
+AM_LDFLAGS = $(TS_PLUGIN_LDFLAGS)
+
+libatscppai = $(top_builddir)/lib/atscppapi/src/libatscppapi.la
+
AsyncHttpFetchStreaming_la_SOURCES =
async_http_fetch_streaming/AsyncHttpFetchStreaming.cc
AsyncHttpFetch_la_SOURCES = async_http_fetch/AsyncHttpFetch.cc
AsyncTimer_la_SOURCES = async_timer/AsyncTimer.cc
@@ -73,3 +75,26 @@ TimeoutExamplePlugin_la_SOURCES =
timeout_example/TimeoutExamplePlugin.cc
TransactionHookPlugin_la_SOURCES = transactionhook/TransactionHookPlugin.cc
boom_la_SOURCES = boom/boom.cc
intercept_la_SOURCES = intercept/intercept.cc
+
+AsyncHttpFetchStreaming_la_LIBADD = $(libatscppai)
+AsyncHttpFetch_la_LIBADD = $(libatscppai)
+AsyncTimer_la_LIBADD = $(libatscppai)
+ClientRedirect_la_LIBADD = $(libatscppai)
+ClientRequest_la_LIBADD = $(libatscppai)
+CustomErrorRemapPlugin_la_LIBADD = $(libatscppai)
+CustomResponse_la_LIBADD = $(libatscppai)
+GlobalHookPlugin_la_LIBADD = $(libatscppai)
+GzipTransformationPlugin_la_LIBADD = $(libatscppai)
+HelloWorldPlugin_la_LIBADD = $(libatscppai)
+InternalTransactionHandling_la_LIBADD = $(libatscppai)
+LoggerExample_la_LIBADD = $(libatscppai)
+MultipleTransactionHookPlugins_la_LIBADD = $(libatscppai)
+NullTransformationPlugin_la_LIBADD = $(libatscppai)
+PostBuffer_la_LIBADD = $(libatscppai)
+RemapPlugin_la_LIBADD = $(libatscppai)
+ServerResponse_la_LIBADD = $(libatscppai)
+StatExample_la_LIBADD = $(libatscppai)
+TimeoutExamplePlugin_la_LIBADD = $(libatscppai)
+TransactionHookPlugin_la_LIBADD = $(libatscppai)
+boom_la_LIBADD = $(libatscppai)
+intercept_la_LIBADD = $(libatscppai)
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].