void-packages/templates/libpng-1.2.32-runstuff-before-build.sh
Juan RP 161abb75e7 Added libpng-1.2.32 template.
--HG--
extra : convert_revision : 17c472da22f2608f2ee51bb49830783909cfd7f1
2008-10-02 19:01:17 +02:00

5 lines
225 B
Bash
Executable file

# Add the correct rpath flags to libpng-config.
$sed_cmd -e '/^L_opts=/s|-L\([ ]*[^ ]*\)"|-Wl,-R\1 -L\1"|g' \
$wrksrc/libpng-config > $wrksrc/libpng-config.in
$mv_cmd -f $wrksrc/libpng-config.in $wrksrc/libpng-config