From: Anas Nashif Date: Thu, 21 Mar 2013 00:45:59 +0000 (-0700) Subject: Fixed hardcoding of lib path in .pc file X-Git-Tag: 2.1b_release^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ef9a13d76d1974a42b3889347ada6021905bb47;p=framework%2Fbase%2Fbundle.git Fixed hardcoding of lib path in .pc file Change-Id: Iba32143f725edd9eff6dafa33414942bb8bb7cda --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 95b8e07..a123924 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,7 +38,7 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/bundle.pc.in ${CMAKE_BINARY_DIR}/bundle.pc @O ### Install install(TARGETS bundle - DESTINATION lib${LIB_SUFFIX} + DESTINATION ${LIB_INSTALL_DIR} ) install(FILES ${CMAKE_SOURCE_DIR}/include/bundle.h @@ -46,7 +46,7 @@ install(FILES DESTINATION include/ ) install(FILES ${CMAKE_BINARY_DIR}/bundle.pc - DESTINATION lib${LIB_SUFFIX}/pkgconfig/ + DESTINATION ${LIB_INSTALL_DIR}/pkgconfig/ ) diff --git a/bundle.pc.in b/bundle.pc.in index aa9cb10..89f192f 100644 --- a/bundle.pc.in +++ b/bundle.pc.in @@ -2,7 +2,7 @@ prefix=/usr exec_prefix=${prefix} -libdir=${prefix}/lib +libdir=@LIB_INSTALL_DIR@ includedir=${prefix}/include Name: bundle