summaryrefslogtreecommitdiff
path: root/external/gpgmepp/w32-fix-libtool.patch.1
blob: 40893908b7f6fd9609a7e5eb878b9f9ec3c1a500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Gross hack to make libtool work with gcc-wrapper - frontended
link.exe on Windows. Make libtool ignore all libs & simply pass
them on as-is to the linker

A proper fix would be to make gcc-wrapper behave like gcc during
linking, by accepting cygwin path names, and correctly expanding
-l<short_lib_name> to lib<short_lib_name>.lib

diff -ur gpgmepp.org/m4/libtool.m4 gpgmepp/m4/libtool.m4
--- gpgmepp.org/m4/libtool.m4	2016-11-16 13:20:16.000000000 +0100
+++ gpgmepp/m4/libtool.m4	2017-11-21 22:00:05.006587800 +0100
@@ -3230,24 +3230,11 @@
   ;;
 
 cygwin*)
-  # func_win32_libid is a shell function defined in ltmain.sh
-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
-  lt_cv_file_magic_cmd='func_win32_libid'
+  lt_cv_deplibs_check_method=pass_all
   ;;
 
 mingw* | pw32*)
-  # Base MSYS/MinGW do not provide the 'file' command needed by
-  # func_win32_libid shell function, so use a weaker test based on 'objdump',
-  # unless we find 'file', for example because we are cross-compiling.
-  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
-  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
-    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
-    lt_cv_file_magic_cmd='func_win32_libid'
-  else
-    # Keep this pattern in sync with the one in func_win32_libid.
-    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
-    lt_cv_file_magic_cmd='$OBJDUMP -f'
-  fi
+  lt_cv_deplibs_check_method=pass_all
   ;;
 
 cegcc*)
3 +0000'>2017-03-25Fix typosAndrea Gelmini 2017-01-26Remove dynamic exception specificationsStephan Bergmann 2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann 2016-08-05loplugin:countusersofdefaultparams in chart2..desktopNoel Grandin 2016-03-11Create DispatchRequest via list-initializationStephan Bergmann 2016-03-11Resolve trivial DispatchList typedefStephan Bergmann 2016-03-11There's only a single DispatchWatcher, no need for a static mutex memberStephan Bergmann 2016-03-10mpDispatchWatcher is a natural place to hold the DispatchWatcher singletonStephan Bergmann 2016-03-10Remove unnecessary class DispatchWatcherHashMapStephan Bergmann 2016-03-10Hold DispatchWatcher by rtl::ReferenceStephan Bergmann 2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann 2015-10-06Fix typosAndrea Gelmini 2015-09-12desktop: com::sun::star->cssNoel Grandin 2015-07-23tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe 2015-07-17loplugin:unusedmethods desktopNoel Grandin 2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara 2014-08-18document the swap-on-free idiom usageNoel Grandin 2014-08-15fdo#70625 Add --cat parameter to make git diffs prettydeenafrancis