diff --git a/projects/gnu.org/libtool/package.yml b/projects/gnu.org/libtool/package.yml index e2e78746..5c15f1c4 100644 --- a/projects/gnu.org/libtool/package.yml +++ b/projects/gnu.org/libtool/package.yml @@ -19,6 +19,11 @@ build: script: |- ./configure --prefix={{ prefix }} make --jobs {{ hw.concurrency }} install + sed -i.bak \ + -e 's_prefix="{{prefix}}"_prefix="$(dirname $(dirname $0))"_' \ + -e 's_{{prefix}}_$prefix_' \ + {{prefix}}/bin/libtoolize + rm {{prefix}}/bin/libtoolize.bak test: dependencies: