mirror of
https://github.com/libffi/libffi.git
synced 2026-01-26 10:07:53 +00:00
chore(build): update build script to use object file for versioning
This commit is contained in:
parent
c07b0c4ddc
commit
d241e51019
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -171,6 +171,7 @@ jobs:
|
||||
/dFFI_MICRO=$pat \
|
||||
/dFFI_BUILD=$build \
|
||||
-fo version.res version.rc
|
||||
windres -O coff -F pe-${{ matrix.arch == 'x64' && 'x86-64' || 'i386' }} version.rc version.o
|
||||
# ----------------------------------------------------------------
|
||||
autoreconf -f -v -i
|
||||
./configure \
|
||||
@ -180,7 +181,7 @@ jobs:
|
||||
CC="$(pwd)/msvcc.sh -m${{ matrix.width }}" \
|
||||
CXX="$(pwd)/msvcc.sh -m${{ matrix.width }}" \
|
||||
LD="link" \
|
||||
LDFLAGS="-no-undefined $(pwd)/version.res" \
|
||||
LDFLAGS="-no-undefined $(pwd)/version.o" \
|
||||
CPP="cl -nologo -EP" \
|
||||
CXXCPP="cl -nologo -EP" \
|
||||
CPPFLAGS="-DFFI_BUILDING_DLL -DUSE_STATIC_RTL" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user