oodle: Fix linking statically #121

Merged
lucas merged 8 commits from issue/static-linking into master 2023-11-08 11:12:26 +01:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit afe4e82c47 - Show all commits

View file

@ -21,4 +21,4 @@ RUN set -eux; \
WORKDIR /src/dtmt
COPY liboo2corelinux64.so /src
COPY *.so *.a /src/

View file

@ -86,4 +86,4 @@ RUN wine wineboot --init
WORKDIR /src/dtmt
COPY oo2core_win32.lib oo2core_win64.lib /src
COPY *.lib /src

View file

@ -4,7 +4,7 @@ set -eux
case "$TARGET" in
msvc)
cp /src/*.lib /src/*.so ./lib/oodle/
cp /src/*.lib ./lib/oodle/
cargo build --color always --locked --release --target x86_64-pc-windows-msvc -Zbuild-std
if [ -d "$OUTPUT" ]; then
@ -13,7 +13,7 @@ case "$TARGET" in
fi
;;
linux)
cp /src/*.so ./lib/oodle/
cp /src/*.a ./lib/oodle/
cargo build --color always --locked --profile release-lto
if [ -d "$OUTPUT" ]; then