[med-svn] [bamtools] 04/05: Install libbamtools to /usr/lib. Installing libraries to /usr/lib/bamtools requires setting LD_LIBRARY_PATH or the executable's rpath. Installing libraries to /usr/lib is cleaner.

Kevin Murray daube-guest at moszumanska.debian.org
Thu Sep 24 07:41:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

daube-guest pushed a commit to branch patch-queue/master
in repository bamtools.

commit 70ac4ffaba22d0d2968f4409d3fce1cc2db3fd72
Author: Michael R. Crusoe <michael.crusoe at gmail.com>
Date:   Wed Nov 7 19:11:51 2012 -0700

    Install libbamtools to /usr/lib. Installing libraries to /usr/lib/bamtools requires setting LD_LIBRARY_PATH or the executable's rpath. Installing libraries to /usr/lib is cleaner.
    
    
    Gbp-Pq: Name 0005-Install-libbamtools-to-lib.-Installing-libraries-to-.patch
---
 src/api/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/CMakeLists.txt b/src/api/CMakeLists.txt
index 91ce1a2..b6fa538 100644
--- a/src/api/CMakeLists.txt
+++ b/src/api/CMakeLists.txt
@@ -54,8 +54,8 @@ target_link_libraries( BamTools        ${APILibs} )
 target_link_libraries( BamTools-static ${APILibs} )
 
 # set library install destinations
-install( TARGETS BamTools        LIBRARY DESTINATION "lib/bamtools" RUNTIME DESTINATION "bin")
-install( TARGETS BamTools-static ARCHIVE DESTINATION "lib/bamtools")
+install( TARGETS BamTools        LIBRARY DESTINATION "lib" RUNTIME DESTINATION "bin")
+install( TARGETS BamTools-static ARCHIVE DESTINATION "lib")
 
 install( FILES api_global.h              DESTINATION "include/bamtools/api" COMPONENT Development )
 install( FILES BamAlgorithms.h           DESTINATION "include/bamtools/api" COMPONENT Development )

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bamtools.git



More information about the debian-med-commit mailing list