From 002497e5ab6097d88a10a068bd67ca0915721509 Mon Sep 17 00:00:00 2001 From: Matt Valentine-House Date: Fri, 27 Sep 2024 13:53:01 +0100 Subject: [PATCH] fix the escaping, and expand the path escaping --- .github/workflows/ubuntu.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index ef0752ddc09d11..d65f2085fedb3b 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -130,14 +130,16 @@ jobs: - name: Build shared GC (${{ matrix.gc_name }}) run: | + MMTK_BUILD_PATH=$(pwd)/../src/gc/mmtk/target/release + mkdir ${{ matrix.shared_gc_dir }} && gcc -shared \ -I../src/include \ -I../src \ -I.ext/include/x86_64-linux \ -Wl,--verbose,--compress-debug-sections=zlib \ - -Wl,--rpath=$(pwd)/../src/gc/mmtk/target/release - -L$(pwd)/../src/gc/mmtk/target/release -lmmtk_ruby \ + -Wl,--rpath=$(MMTK_BUILD_PATH) \ + -L$(readlink -f $MMTK_BUILD_PATH) -lmmtk_ruby \ -fstack-protector-strong \ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 \ -O3 -fno-fast-math -ggdb3 -DBUILDING_SHARED_GC -fPIC \