Allow building libntfs as a shared library on Cygwin. This should not disturb non-Cygwin enviroments, but not tested. As a side-effect it generates ugly informational messages about importing extern variables. These are not errors or warnings, just info.

edge.strict_endians
uvman 2005-10-20 00:59:22 +00:00
parent 570705dcab
commit 705814c9d7
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ LTVERSION_LIBNTFS_GNOMEVFS = 1:0:0
linux_ntfsincludedir = -I$(top_srcdir)/include/ntfs
lib_LTLIBRARIES = libntfs.la
libntfs_la_LDFLAGS = -version-info $(LTVERSION_LIBNTFS)
libntfs_la_LDFLAGS = -version-info $(LTVERSION_LIBNTFS) -no-undefined
libntfs_la_CFLAGS = $(LIBNTFS_CFLAGS) \
-DLTVERSION_LIBNTFS=\"$(LTVERSION_LIBNTFS)\"
libntfs_la_SOURCES = \