summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorMasahiro Sakai <sakai@tom.sfc.keio.ac.jp>2003-05-03 05:10:53 +0000
committerMasahiro Sakai <msakai@src.gnome.org>2003-05-03 05:10:53 +0000
commit2dbe9bfa1a8a23915a7291980648faec79946974 (patch)
tree3fe8d3b4c7414594f004034481718a046fb8dcce /components
parente67b1023b2ab42a563fdf6649ef7f577f16390dc (diff)
downloadnautilus-2dbe9bfa1a8a23915a7291980648faec79946974.tar.gz
Call AC_LIBTOOL_WIN32_DLL which is necessary for building shared library
2003-05-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp> * configure.in: Call AC_LIBTOOL_WIN32_DLL which is necessary for building shared library on win32 platform. Check fstab.h. * components/emblem/Makefile.am (libnautilus_emblem_view_la_LDFLAGS): * components/history/Makefile.am (libnautilus_history_view_la_LDFLAGS): * components/image_properties/Makefile.am (libnautilus_image_properties_view_la_LDFLAGS): * components/notes/Makefile.am (libnautilus_notes_view_la_LDFLAGS): * components/tree/Makefile.am (libnautilus_tree_view_la_LDFLAGS): * libnautilus/Makefile.am (libnautilus_la_LDFLAGS): * libnautilus-adapter/Makefile.am (libnautilus_adapter_la_LDFLAGS): * libnautilus-private/Makefile.am (libnautilus_private_la_LDFLAGS): Add -no-undefined which is necessary for building shared library on some platforms (e.g. Win32, BeOS, etc). * libnautilus-adapter/Makefile.am (libnautilus_adapter_la_LIBADD): Fix library order. libnautilus.la should be ahead of other libraries that libnautilus.la depends on. * libnautilus-private/nautilus-volume-monitor.c: Include fstab.h conditionaly. Define MOUNT_TABLE_PATH as MOUNTED on cygwin. (get_removable_volumes, volume_is_removable, get_mount_list) Use endmntent() to close a file opened by setmntent(). Because using fclose() causes a crash on cygwin.
Diffstat (limited to 'components')
-rw-r--r--components/emblem/Makefile.am2
-rw-r--r--components/history/Makefile.am2
-rw-r--r--components/image_properties/Makefile.am2
-rw-r--r--components/notes/Makefile.am2
-rw-r--r--components/tree/Makefile.am2
5 files changed, 5 insertions, 5 deletions
diff --git a/components/emblem/Makefile.am b/components/emblem/Makefile.am
index c95b6bb39..2d3ca05c1 100644
--- a/components/emblem/Makefile.am
+++ b/components/emblem/Makefile.am
@@ -21,7 +21,7 @@ bonobo_LTLIBRARIES = libnautilus-emblem-view.la
libnautilus_emblem_view_la_SOURCES = $(EMBLEM_VIEW_COMMON_SOURCES) \
libmain.c
-libnautilus_emblem_view_la_LDFLAGS = -module -avoid-version
+libnautilus_emblem_view_la_LDFLAGS = -module -avoid-version -no-undefined
libnautilus_emblem_view_la_LIBADD = \
$(top_builddir)/libnautilus/libnautilus.la \
diff --git a/components/history/Makefile.am b/components/history/Makefile.am
index 79f0b6488..94787112c 100644
--- a/components/history/Makefile.am
+++ b/components/history/Makefile.am
@@ -15,7 +15,7 @@ libnautilus_history_view_la_SOURCES = \
nautilus-history-view.h \
$(NULL)
-libnautilus_history_view_la_LDFLAGS = -module -avoid-version
+libnautilus_history_view_la_LDFLAGS = -module -avoid-version -no-undefined
libnautilus_history_view_la_LIBADD = \
$(top_builddir)/libnautilus/libnautilus.la \
diff --git a/components/image_properties/Makefile.am b/components/image_properties/Makefile.am
index f85f6ed32..dd96e54b5 100644
--- a/components/image_properties/Makefile.am
+++ b/components/image_properties/Makefile.am
@@ -25,7 +25,7 @@ libnautilus_image_properties_view_la_LIBADD = \
$(top_builddir)/libnautilus/libnautilus.la \
$(COMPONENT_LIBS)
-libnautilus_image_properties_view_la_LDFLAGS = -module -avoid-version
+libnautilus_image_properties_view_la_LDFLAGS = -module -avoid-version -no-undefined
server_in_files = Nautilus_View_image_properties.server.in.in
diff --git a/components/notes/Makefile.am b/components/notes/Makefile.am
index 1888a8e63..35ffee771 100644
--- a/components/notes/Makefile.am
+++ b/components/notes/Makefile.am
@@ -19,7 +19,7 @@ libnautilus_notes_view_la_LIBADD = \
$(COMPONENT_LIBS) \
$(NULL)
-libnautilus_notes_view_la_LDFLAGS = -module -avoid-version
+libnautilus_notes_view_la_LDFLAGS = -module -avoid-version -no-undefined
server_in_files = Nautilus_View_notes.server.in.in
diff --git a/components/tree/Makefile.am b/components/tree/Makefile.am
index 9e6e6da4b..2a04acf19 100644
--- a/components/tree/Makefile.am
+++ b/components/tree/Makefile.am
@@ -21,7 +21,7 @@ bonobo_LTLIBRARIES = libnautilus-tree-view.la
libnautilus_tree_view_la_SOURCES = $(TREE_VIEW_COMMON_SOURCES) libmain.c
-libnautilus_tree_view_la_LDFLAGS = -module -avoid-version
+libnautilus_tree_view_la_LDFLAGS = -module -avoid-version -no-undefined
libnautilus_tree_view_la_LIBADD = \
$(top_builddir)/libnautilus/libnautilus.la \