Skip to content

Commit 9c253d2

Browse files
committed
build: don't define DLL_EXPORT for windows
This fixes libbitcoinkernel dll linking.
1 parent 9f6ef0c commit 9c253d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

configure.ac

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ dnl we have those under control, re-enable that functionality.
7676
case $host in
7777
*mingw*)
7878
lt_cv_deplibs_check_method="pass_all"
79+
80+
dnl Remove unwanted -DDLL_EXPORT from these variables.
81+
dnl We do not use this macro, but system headers may export unwanted symbols
82+
dnl if it's set.
83+
lt_cv_prog_compiler_pic="-DPIC"
84+
lt_cv_prog_compiler_pic_CXX="-DPIC"
7985
;;
8086
esac
8187

0 commit comments

Comments
 (0)