[liblas] 14/15: Strip RPATH from binaries.

Bas Couwenberg sebastic at xs4all.nl
Sun Aug 3 12:17:29 UTC 2014


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

sebastic-guest pushed a commit to branch experimental
in repository liblas.

commit d84521d3fed771f3e88982e7d2eb3b3f4bcc92d5
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Aug 3 13:21:31 2014 +0200

    Strip RPATH from binaries.
---
 debian/changelog | 1 +
 debian/control   | 1 +
 debian/rules     | 3 +++
 3 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 745b5f5..340498e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ liblas (1.8.0-1) UNRELEASED; urgency=medium
   * Add build dependencies for boost_iostreams & boost_filesystem.
   * Fix executable-not-elf-or-script for python examples.
   * Add patch to fix 'accommodate' typo.
+  * Strip RPATH from binaries.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Sun, 03 Aug 2014 12:09:14 +0200
 
diff --git a/debian/control b/debian/control
index ecd9b6d..edc4549 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
                cmake,
+               chrpath,
                libgeotiff-dev,
                libgdal-dev (>= 1.10.0~),
                libtiff-dev,
diff --git a/debian/rules b/debian/rules
index c82d317..9d831d2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,9 @@ override_dh_install-arch:
 	# remove capi from liblas-dev
 	rm -vrf debian/liblas-dev/usr/include/liblas/capi/
 
+	# removing embedded rpath in binaries
+	-find debian/liblas-bin/usr/bin -type f -exec chrpath --delete {} \;
+
 override_dh_install-indep:
 	dh_install --indep --list-missing
 	dh_python2 --indep

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/liblas.git



More information about the Pkg-grass-devel mailing list