aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2022-04-26 16:36:33 +0000
committerCory Fields <cory-nospam-@coryfields.com>2023-02-22 19:04:21 +0000
commit9c253d2398005d852cab77c4456bc1f44831a16b (patch)
tree6a1d8ee8eab925d019c7418db89027df1fd221b1 /configure.ac
parent9f6ef0c156ac26fb043387b915002e10f44c80b8 (diff)
build: don't define DLL_EXPORT for windows
This fixes libbitcoinkernel dll linking.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 72503f2b1c..5f09c8a5b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,6 +76,12 @@ dnl we have those under control, re-enable that functionality.
case $host in
*mingw*)
lt_cv_deplibs_check_method="pass_all"
+
+ dnl Remove unwanted -DDLL_EXPORT from these variables.
+ dnl We do not use this macro, but system headers may export unwanted symbols
+ dnl if it's set.
+ lt_cv_prog_compiler_pic="-DPIC"
+ lt_cv_prog_compiler_pic_CXX="-DPIC"
;;
esac