summaryrefslogtreecommitdiffstats
path: root/rules/gobject-introspection.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-01-13 17:22:32 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-01-13 17:22:32 +0100
commitbee90f0a8dc80087d7806f0d0469e219c9432572 (patch)
tree1f79100e4817c42cc018df671762a440b3a1a166 /rules/gobject-introspection.make
parent6fc442f7e3a4cad8f28cf89a672549d22df17b47 (diff)
downloadptxdist-bee90f0a8dc80087d7806f0d0469e219c9432572.tar.gz
ptxdist-bee90f0a8dc80087d7806f0d0469e219c9432572.tar.xz
gobject-introspection: remove rpath from target binaries
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gobject-introspection.make')
-rw-r--r--rules/gobject-introspection.make8
1 files changed, 8 insertions, 0 deletions
diff --git a/rules/gobject-introspection.make b/rules/gobject-introspection.make
index e47fb0842..e730db3b6 100644
--- a/rules/gobject-introspection.make
+++ b/rules/gobject-introspection.make
@@ -50,6 +50,14 @@ GOBJECT_INTROSPECTION_LDFLAGS := -Wl,-rpath,$(GOBJECT_INTROSPECTION_DIR)/.libs
# Install
# ----------------------------------------------------------------------------
+$(STATEDIR)/gobject-introspection.install:
+ @$(call targetinfo)
+ @$(call world/install, GOBJECT_INTROSPECTION)
+# # the rpath is only needed while building the package itself
+ @chrpath --delete $(GOBJECT_INTROSPECTION_PKGDIR)/usr/bin/g-ir-compiler
+ @chrpath --delete $(GOBJECT_INTROSPECTION_PKGDIR)/usr/lib/libgirepository-1.0.so
+ @$(call touch)
+
$(STATEDIR)/gobject-introspection.install.post:
@$(call targetinfo)
@$(call world/install.post, GOBJECT_INTROSPECTION)