summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Son <linuxias@gmail.com>2020-12-30 13:35:03 +0900
committerSeungha Son <linuxias@gmail.com>2020-12-30 13:35:03 +0900
commit997a0b846b06a8472cb9b2585947bb884a9dd429 (patch)
treec76cf225f71ef010c5370e90b2c3d3f6ab6be8ea
parentcf7fcff60550fd4f56f1e2c6491536ef7b36bd35 (diff)
downloadttrace-tizen_6.5.tar.gz
ttrace-tizen_6.5.tar.bz2
ttrace-tizen_6.5.zip
Change-Id: Ifb43d363f8d44f775f875e52063b4bf2041d08b9 Signed-off-by: Seungha Son <linuxias@gmail.com>
-rwxr-xr-xCMakeLists.txt16
-rw-r--r--packaging/ttrace.spec1
2 files changed, 0 insertions, 17 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ee526d..d1796fb 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -64,22 +64,6 @@ CONFIGURE_FILE(${TTRACE}.pc.in ${TTRACE}.pc @ONLY)
INSTALL(TARGETS ${TTRACE} DESTINATION ${LIBDIR} COMPONENT RuntimeLibraries)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TTRACE}.pc DESTINATION ${LIBDIR}/pkgconfig)
-# ------------------------------
-# Build ttrace Library (Static)
-# ------------------------------
-SET(TTRACE_STATIC "ttrace-static")
-
-ADD_LIBRARY(${TTRACE_STATIC} STATIC ${SRC})
-SET_TARGET_PROPERTIES(${TTRACE_STATIC} PROPERTIES COMPILE_FLAGS "${EXTRA_CFLAGS_common} -fpic")
-SET_TARGET_PROPERTIES(${TTRACE_STATIC} PROPERTIES OUTPUT_NAME ttrace)
-
-CONFIGURE_FILE(${TTRACE_STATIC}.pc.in ${TTRACE_STATIC}.pc @ONLY)
-
-INSTALL(TARGETS ${TTRACE_STATIC} DESTINATION ${LIBDIR})
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TTRACE_STATIC}.pc DESTINATION ${LIBDIR}/pkgconfig)
-TARGET_LINK_LIBRARIES(${TTRACE_STATIC} ${pkg_ttrace_LDFLAGS} "-ldl")
-
-# Post Process
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/
DESTINATION include
FILES_MATCHING
diff --git a/packaging/ttrace.spec b/packaging/ttrace.spec
index a698f93..81008e6 100644
--- a/packaging/ttrace.spec
+++ b/packaging/ttrace.spec
@@ -143,7 +143,6 @@ install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
%defattr(-,root,root,-)
%{_includedir}/*.h
%{_libdir}/libttrace.so
-%{_libdir}/libttrace.a
%{_libdir}/pkgconfig/*.pc
%if 0%{?gcov:1}