summaryrefslogtreecommitdiffstats
path: root/rules/systemd.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-09-09 10:53:20 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-09-09 10:54:32 +0200
commit217ac8c4c1e8d9b3c653970fa8b4b6d87cfc91a1 (patch)
tree533d73c3c85205634ca7abd31c973abd0673eb1d /rules/systemd.make
parente7b482e0532d3373198c21f41d141a4857a11d99 (diff)
downloadptxdist-217ac8c4c1e8d9b3c653970fa8b4b6d87cfc91a1.tar.gz
ptxdist-217ac8c4c1e8d9b3c653970fa8b4b6d87cfc91a1.tar.xz
systemd: remove rpath from libsptxdist-2016.09.0
They don't link to libsystemd-shared, so it's not necessary. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/systemd.make')
-rw-r--r--rules/systemd.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/systemd.make b/rules/systemd.make
index e4c3fe3d3..bcdda2152 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -168,6 +168,9 @@ endif
@rm -v $(SYSTEMD_PKGDIR)/usr/lib/tmpfiles.d/home.conf
# # the upstream default (graphical.target) wants display-manager.service
@ln -sf multi-user.target $(SYSTEMD_PKGDIR)/lib/systemd/system/default.target
+# # rpath is only needed for the executables
+ @chrpath --delete $(SYSTEMD_PKGDIR)/usr/lib/lib*.so*
+ @chrpath --delete $(SYSTEMD_PKGDIR)/lib/systemd/libsystemd-shared-$(SYSTEMD_VERSION).so
@$(call touch)
# ----------------------------------------------------------------------------