# -*- shell-script -*- # cygwin/mknetrel - LilyPond mknetrel overrides # This script should be used to package LilyPond for Cygwin. # It can be used to build LilyPond on Cygwin, but also on GNU/Linux. # # See http://lilypond.org/web/devel/packaging.html for more information, # report bugs to bug-lilypond@gnu.org. # # To build the package, do: cat >/dev/null < libtool chmod +x libtool } fix_libtool_la () { # fix libtool's .la dependency_libs output for dlopen for i in $inst/lib $inst/$prefix/lib ]; do if [ -d $i ]; then cd $i || exit 1 for j in $(ls -1 *la); do mv $j .libtool-$j sed -e 's/ *-L *[^ ][^ ]*//g' .libtool-$j > $j chmod +x $j done fi done } preconfig () { patchsrc rm -f config.cache # for cross-compiling LilyPond, fake a guile-config if ! iscygwin; then cd $build || exit 1 GUILE=1.6.5 cat > i686-cygwin-guile-config <