diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index bcc45ee06c5483..920f2a8bf18d5c 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -137,11 +137,12 @@ jobs: -I.ext/include/x86_64-linux \ -Wl,--verbose,--compress-debug-sections=zlib \ -Wl,--rpath=$MMTK_BUILD_PATH \ - -L$(readlink -f $MMTK_BUILD_PATH) -lmmtk_ruby \ + -L$(readlink -f $MMTK_BUILD_PATH) \ -fstack-protector-strong \ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 \ -O3 -fno-fast-math -ggdb3 -DBUILDING_SHARED_GC -fPIC \ - -o /home/runner/ruby_gc/librubygc.mmtk.so $(pwd)/../src/gc/mmtk.c && + -o /home/runner/ruby_gc/librubygc.mmtk.so $(pwd)/../src/gc/mmtk.c \ + -lmmtk_ruby && ldd ${{ matrix.shared_gc_dir }}/librubygc.mmtk.so if: ${{ matrix.shared_gc }}