X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fbabeltrace%2Fbuild.sh;h=efc8be1b99edf55497637c770eb1ddcd60f5308c;hb=897eb548da2a0a5a64884b2c9c9d80ecd13d2d2c;hp=910ce3a7667feae904c866f58deaa284633358d6;hpb=649c39a62e81639fa00156a7b82f54917f7b068c;p=lttng-ci.git diff --git a/scripts/babeltrace/build.sh b/scripts/babeltrace/build.sh index 910ce3a..efc8be1 100755 --- a/scripts/babeltrace/build.sh +++ b/scripts/babeltrace/build.sh @@ -189,6 +189,15 @@ macosx) export PYTHON_CONFIG="python3-config" ;; +cygwin) + export MAKE=make + export TAR=tar + export NPROC=nproc + export PYTHON="python3" + export PYTHON_CONFIG="python3-config" + rebase_dll=1 + ;; + *) export MAKE=make export TAR=tar @@ -341,6 +350,11 @@ esac # BUILD! $MAKE -j "$($NPROC)" V=1 +# Force rebase DLL address mapping +if [ "${rebase_dll:-}" == "1" ]; then + find . -name "*.dll" | xargs rebase -O -v +fi + # Install in the workspace $MAKE install DESTDIR="$WORKSPACE"