From: youngman Date: Fri, 9 Sep 2016 00:11:42 +0000 (+0900) Subject: enable TCP X-Git-Tag: accepted/tizen/3.0/common/20161122.063814~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F88641%2F2;p=platform%2Fupstream%2Fiotivity.git enable TCP Change-Id: I4e978659e45690e9b84a873f3345086ddbd0be17 Signed-off-by: youngman --- diff --git a/iotivity.pc.in b/iotivity.pc.in index 1d717d7..a7bdecd 100644 --- a/iotivity.pc.in +++ b/iotivity.pc.in @@ -19,4 +19,5 @@ Cflags: -I${includedir}/resource \ -I${svcincludedir}/resource-directory \ -I${svcincludedir}/things-manager \ -D@ROUTING_DEFINE@ \ - -D__WITH_DTLS__ + -D__WITH_DTLS__ \ + -DTCP_ADAPTER diff --git a/packaging/iotivity.spec b/packaging/iotivity.spec index 7158cc7..3ea8802 100755 --- a/packaging/iotivity.spec +++ b/packaging/iotivity.spec @@ -116,7 +116,7 @@ scons %{JOB} --prefix=%{_prefix} \ TARGET_OS=tizen TARGET_ARCH=%{RPM_ARCH} TARGET_TRANSPORT=%{TARGET_TRANSPORT} \ RELEASE=%{RELEASE} SECURED=1 LOGGING=%{LOGGING} ROUTING=%{ROUTING} \ ES_TARGET_ENROLLEE=%{ES_TARGET_ENROLLEE} ES_ROLE=%{ES_ROLE} ES_SOFTAP_MODE=%{ES_SOFTAP_MODE} \ - LIB_INSTALL_DIR=%{_libdir} + LIB_INSTALL_DIR=%{_libdir} WITH_TCP=true %install @@ -126,7 +126,7 @@ scons install --install-sandbox=%{buildroot} --prefix=%{_prefix} \ TARGET_OS=tizen TARGET_ARCH=%{RPM_ARCH} TARGET_TRANSPORT=%{TARGET_TRANSPORT} \ RELEASE=%{RELEASE} SECURED=1 LOGGING=%{LOGGING} ROUTING=%{ROUTING} \ ES_TARGET_ENROLLEE=%{ES_TARGET_ENROLLEE} ES_ROLE=%{ES_ROLE} ES_SOFTAP_MODE=%{ES_SOFTAP_MODE} \ - LIB_INSTALL_DIR=%{_libdir} + LIB_INSTALL_DIR=%{_libdir} WITH_TCP=true # For Example