diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-12-28 00:34:02 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-12-28 02:15:35 +0100 |
commit | 0d1005ce15f0b9a8f13e46d70f9f510e8e40ffce (patch) | |
tree | cad04f75cba26a2640f74149e04ce12f606aa80d /rules/host-python3.make | |
parent | 041aa661e323c6b75d0bac0e01e35042934afd88 (diff) | |
download | ptxdist-0d1005ce15f0b9a8f13e46d70f9f510e8e40ffce.tar.gz ptxdist-0d1005ce15f0b9a8f13e46d70f9f510e8e40ffce.tar.xz |
python3: improve python-config
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-python3.make')
-rw-r--r-- | rules/host-python3.make | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/host-python3.make b/rules/host-python3.make index 76cc84cc9..b13fddc2f 100644 --- a/rules/host-python3.make +++ b/rules/host-python3.make @@ -63,4 +63,11 @@ $(STATEDIR)/host-python3.install: "$(HOST_PYTHON3_PKGDIR)/bin/python3-config" @$(call touch) +$(STATEDIR)/host-python3.install.post: + @$(call targetinfo) + @$(call world/install.post, HOST_PYTHON3) + @sed -i 's;prefix_build="";prefix_build="$(PTXDIST_SYSROOT_HOST)";' \ + $(PTXDIST_SYSROOT_HOST)/bin/python3*-config + @$(call touch) + # vim: syntax=make |