Wrong use of -export-symbols in src/Makefile.am
LRN
lrn1986 at gmail.com
Wed Mar 20 17:20:22 CET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Currently src/Makefile.am reads:
export_symbols = -export-symbols $(srcdir)/libgcrypt.def
- -export-symbols is a libtool option. It expects to be given a list of
symbols to export. The list is a plain list, one symbol name per line
(no EXPORTS header). It is *NOT* a .def file. Libtool does *NOT*
understand .def files.
If you want to use a .def file, feed it to gcc directly, like any
other source file. Thus, if fixing the order of exports using ordinals
is your intent, then Makefile.am should read:
export_symbols = $(srcdir)/libgcrypt.def
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJRSeHFAAoJEOs4Jb6SI2CwI4gH/jefDG0Vv3wPL1xuWjhdcbCZ
F5/AoQNu4LuosITROxPktF032d/krI7NyqatK2lpITFnwT+MVuT1AQS8rKJlHOEW
iufvQIlUIw0EWZ76bMX9zAL2Wvhjv9VvpPR0ARvAxUyL7pYH49Y8W3vAvqghVQNW
7uamO/0b0loYf2CaxzQVby9zqvUm9xG8Do763nss9dq1Gm2cQypBQFYqE5WmLrCZ
OgU1kXNs+tUom+IlF5OKE+NLtNylKTUON76rBW7c9lfb7jbqsc/tzFNVwRbgAD/V
A63DTRp86+FysRhV4qA16yGe2YoDsdhSmzLEViMP9SPiULIuLj7H0nU0tRcczmE=
=4ozW
-----END PGP SIGNATURE-----
More information about the Gcrypt-devel
mailing list