diff options
Diffstat (limited to 'patches/winnt-conf/2.4.6-shlibs-c')
-rw-r--r-- | patches/winnt-conf/2.4.6-shlibs-c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/winnt-conf/2.4.6-shlibs-c b/patches/winnt-conf/2.4.6-shlibs-c new file mode 100644 index 0000000..cba9709 --- /dev/null +++ b/patches/winnt-conf/2.4.6-shlibs-c @@ -0,0 +1,20 @@ +--- configure ++++ configure +@@ -10855,10 +10889,17 @@ + + bsdi[45]*) + export_dynamic_flag_spec=-rdynamic + ;; + ++ winnt*) ++ exclude_expsyms='__NULL_IMPORT_DESCRIPTOR|__IMPORT_DESCRIPTOR_.*' ++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags -o $output_objdir/$soname -Wl,--out-implib,$lib' ++ archive_cmds_need_lc=no ++ allow_undefined_flag=unsupported ++ ;; ++ + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. |