Skip to content

Commit

Permalink
CI: always generate commandline files for binary artifacts
Browse files Browse the repository at this point in the history
Since there is no dependency to the target `cmdline`, this doesn't
always get build. This results in pkcs11-register having the wrong
defaults for registering Firefox/Chrome, which are based on the platform
(through `./configure`).
  • Loading branch information
frankmorgner committed Feb 27, 2024
1 parent 0eb4455 commit f5a11a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ if [ "$1" == "mingw" -o "$1" == "mingw32" ]; then
CFLAGS="-I$PWD/src/minidriver/CNG -Wno-error=unknown-pragmas" \
CPPFLAGS="-DNTDDI_VERSION=0x06010000" \
./configure --host=$HOST --with-completiondir=/tmp --disable-openssl --disable-readline --disable-zlib --enable-minidriver --enable-notify --prefix=$PWD/win32/opensc || cat config.log;
make cmdline -C src/tools
make -j 4 V=1
# no point in running tests on mingw
else
Expand All @@ -66,6 +67,7 @@ else
fi
export CFLAGS="-DDEBUG_PROFILE=1 $CFLAGS"
./configure $CONFIGURE_FLAGS
make cmdline -C src/tools
make -j 4 V=1
# 32b build has some issues to find openssl correctly
if [ "$1" == "valgrind" ]; then
Expand Down
1 change: 1 addition & 0 deletions MacOSX/build-package.in
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ if ! test -e ${BUILDPATH}/target/$PREFIX/lib/pkgconfig; then
make clean

# compile
make cmdline -C src/tools
make -j 4

# copy files
Expand Down

0 comments on commit f5a11a2

Please sign in to comment.