Skip to content

Commit b045635

Browse files
committed
opensc: define config file
1 parent ea47af5 commit b045635

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

projects/opensc/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ make
2727
make install
2828
popd
2929

30+
# enable internal and old drivers
31+
sed -i '/^#ifdef OPENSC_CONFIG_STRING/i #define OPENSC_CONFIG_STRING "app default { card_drivers = old, internal; }"' src/libopensc/ctx.c
32+
3033
./bootstrap
3134
# FIXME FUZZING_LIBS="$LIB_FUZZING_ENGINE" fails with some missing C++ library, I don't know how to fix this
3235
./configure --disable-optimization --enable-static --disable-shared --disable-pcsc --enable-ctapi --enable-openpace --enable-fuzzing FUZZING_LIBS="$LIB_FUZZING_ENGINE"

0 commit comments

Comments
 (0)