LDFLAGS -no-undefined for Windows DLLs, Tru64 and AIX shared libs
authorHans Ulrich Niedermann <hun@n-dimensional.de>
Wed, 9 Feb 2005 01:17:45 +0000 (02:17 +0100)
committerHans Ulrich Niedermann <hun@n-dimensional.de>
Wed, 9 Feb 2005 01:17:45 +0000 (02:17 +0100)
libexif/Makefile.am

index e93bbc1144068cd1b60bed4ca14d61f2b62a4a36..1a87b52726c728ad0f003c6dfe1e21b0c5c6fa95 100644 (file)
@@ -2,7 +2,11 @@ SUBDIRS = canon olympus pentax
 
 lib_LTLIBRARIES = libexif.la
 
-libexif_la_LDFLAGS = -version-info @LIBEXIF_VERSION_INFO@
+# The -no-undefined makes it possible to build DLLs for Windows,
+# or shared libraries for Tru64 or AIX (according to the autobook
+# chapter on "Portable Library Design"). It doesn't seem to hurt
+# elsewhere, so we can leave it in.
+libexif_la_LDFLAGS = -no-undefined -version-info @LIBEXIF_VERSION_INFO@
 libexif_la_SOURCES =           \
        exif-byte-order.c       \
        exif-content.c          \