From 705814c9d79e51e50f4cd48e5ef335b6430f5e0e Mon Sep 17 00:00:00 2001 From: uvman Date: Thu, 20 Oct 2005 00:59:22 +0000 Subject: [PATCH] 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. --- libntfs/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libntfs/Makefile.am b/libntfs/Makefile.am index f1fd592e..ac784c67 100644 --- a/libntfs/Makefile.am +++ b/libntfs/Makefile.am @@ -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 = \