[sr #111241] Fixes build issue on MSVC

anonymous <[email protected]> Sun, 11 May 2025 07:00:48 -0400 (EDT)
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
--8323329-559848554-1746961248=:2744045
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

URL:=0A  <https://savannah.gnu.org/support/?111241>=0A=0A                 S=
ummary: Fixes build issue on MSVC=0A                   Group: GNU Libtool=
=0A               Submitter: None=0A               Submitted: Sun 11 May 20=
25 11:00:41 AM UTC=0A                Category: None=0A                Prior=
ity: 5 - Normal=0A                Severity: 3 - Normal=0A                  =
Status: None=0A                 Privacy: Public=0A             Assigned to:=
 None=0A        Originator Email:=0A             Open/Closed: Open=0A      =
   Discussion Lock: Any=0A        Operating System: None=0A=0A=0A    ______=
_________________________________________________=0A=0AFollow-up Comments:=
=0A=0A=0A-------------------------------------------------------=0ADate: Su=
n 11 May 2025 11:00:41 AM UTC By: Anonymous=0AI'm trying to build libtool w=
ith MSVC, but it failed with an error that a=0Asymbol not found. (Please no=
ticed that the following message is translated=0Afrom Chinese)=0A=0A  CCLD =
    libltdl/libltdl.la=0AlibltdlS.c=0A  Creating library libltdl/.libs/libl=
tdl.dll.lib and object=0Alibltdl/.libs/libltdl.dll.exp=0Alibltdl_la-ltdl.ob=
j : error LNK2019: Unresolved external symbol=0Alt_ltdl_LTX_preloaded_symbo=
ls, referenced in lt_dlinit=0Alibltdl\.libs\libltdl-7.dll : fatal error LNK=
1120: 1 external command could=0Anot be resolved=0Amake[2]: *** [Makefile:1=
176: libltdl/libltdl.la] Error 2=0Amake[2]: Leaving directory '/c/build/bui=
ld'=0Amake[1]: *** [Makefile:1651: all-recursive] Error 1=0Amake[1]: Leavin=
g directory '/c/build/build'=0Amake: *** [Makefile:1033: all] Error 2=0A=0A=
After applied this patch, it works properly. A noticeable thing is the shar=
ed=0Alibrary named libltdl-7.dll instead of ltdl-7.dll. However I'm not sur=
e if it=0Ais a good solution.=0A=0A=0A=0A=0A=0A=0A=0A    __________________=
_____________________________________=0AFile Attachments:=0A=0A=0A---------=
----------------------------------------------=0AName: 0001-libtool.m4-Fixe=
s-MSVC-builds-for-libltdl.patch  Size: 671B=0A<https://file.savannah.gnu.or=
g/file/0001-libtool.m4-Fixes-MSVC-builds-for-libltdl.patch?file_id=3D57215>=
=0A=0A    AGPL NOTICE=0A=0AThese attachments are served by Savane. You can =
download the corresponding=0Asource code of Savane at=0Ahttps://savannah.gn=
u.org/source/savane-9881c859354512ce27e2f80f2a58c47cdee12e5d.tar.gz=0A=0A  =
  _______________________________________________________=0A=0AReply to thi=
s item at:=0A=0A  <https://savannah.gnu.org/support/?111241>=0A=0A_________=
______________________________________=0AMessage sent via Savannah=0Ahttps:=
//savannah.gnu.org/=0A
--8323329-559848554-1746961248=:2744045
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaCCDXwAKCRCqLAuaBUf3
Tg31AQDXC0O2GJCriCazPG4kn+gJuYTVAmOf+839G2rGdRGZCwD/WLTN5uJ5q2x/
JM1Pc3weErVrjaEg1hSVWl+833VMGg4=
=rbgA
-----END PGP SIGNATURE-----

--8323329-559848554-1746961248=:2744045--