projects
/
framework
/
base
/
bundle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9de09e2
)
Fixed hardcoding of lib path in .pc file
2.1b_release
accepted/tizen_2.1/20130425.035355
submit/tizen_2.1/20130424.231000
author
Anas Nashif
<anas.nashif@intel.com>
Thu, 21 Mar 2013 00:45:59 +0000
(17:45 -0700)
committer
lifang
<fangx.li@intel.com>
Thu, 28 Mar 2013 21:27:11 +0000
(
05:27
+0800)
Change-Id: Iba32143f725edd9eff6dafa33414942bb8bb7cda
CMakeLists.txt
patch
|
blob
|
history
bundle.pc.in
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
95b8e07
..
a123924
100644
(file)
--- 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
(file)
--- 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