RE: extra exports with libtool (pr-msvc-support)

2009-09-03 Thread David Byron
I just tried this by adding libfoo_la_LDFLAGS += -export-symbols symfile and manually creating an empty file named symfile in the example I posted earlier. Now the only symbol that gets exported is the one decorated with dllexport. Thanks for the workaround. One more snag

Re: extra exports with libtool (pr-msvc-support)

2009-08-29 Thread Peter Rosin
Den 2009-08-28 19:02 skrev David Byron: Indeed, good to know. Your input made me realize that it should be possible to work around the extra exports with something like -export-symbols-regex=probably_not_a_match or with an empty SYMFILE and -export-symbols=SYMFILE Untested though, but the

RE: extra exports with libtool (pr-msvc-support)

2009-08-28 Thread David Byron
Indeed, good to know. Your input made me realize that it should be possible to work around the extra exports with something like -export-symbols-regex=probably_not_a_match or with an empty SYMFILE and -export-symbols=SYMFILE Untested though, but the linker should then pick up the symbols

Re: extra exports with libtool (pr-msvc-support)

2009-08-25 Thread Peter Rosin
Den 2009-08-24 23:53 skrev David Byron: I'm running into a situation where libtool is exporting something I don't expect it to. I've attached a tarball that demonstrates this. This is by design. For the msvc branch, libtool digs through the object files to get all public symbols and exports