Well, you could Use also on command line simply -Wc,lexiv2.dll option.
By this you are choosing always the shared variant (which is used in
scan_exif.cpp source via dllimport). By this the link-failures should
be gone.
Not sure about it, but for testing you might want to remove the
libexiv2.la file.
Another way to solve this, so that you are able to use static version
here, is to make sure that in scan_exif.cpp for imported libexiv2 API
no dllimport attribute gets specified.
Thanks, Kai. I did delete the libexiv2.la file and am seeing the same behavior.
Can you tell me how to specify the "no dllimport attribute?"
Thanks again.
Simson