aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--configure.in1
-rw-r--r--src/Makefile.am2
3 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 44224da2b..880d49674 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-08-21 Christian Persch <chpe@cvs.gnome.org>
+
+ * configure.in:
+ * src/Makefile.am:
+
+ Add autoconf check for dlopen, and add '-dlopen self' to
+ LDFLAGS. Fixes bug #150673.
+
2004-08-20 Christian Persch <chpe@cvs.gnome.org>
* data/default-prefs.js:
diff --git a/configure.in b/configure.in
index 1b1af8b83..1eab7a357 100644
--- a/configure.in
+++ b/configure.in
@@ -36,6 +36,7 @@ AC_SUBST(LIBGNOMEUI_REQUIRED)
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
+AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
AC_ISC_POSIX
diff --git a/src/Makefile.am b/src/Makefile.am
index 8c868fd75..656781d4c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -116,7 +116,7 @@ epiphany_LDADD = \
$(EPIPHANY_DEPENDENCY_LIBS) \
$(INTLLIBS)
-epiphany_LDFLAGS = -R$(MOZILLA_HOME)
+epiphany_LDFLAGS = -R$(MOZILLA_HOME) -dlopen self
BUILT_SOURCES = $(CORBA_SOURCE)