ORBit 0.3.0: --disable-static doesn't work



Hi,

You can't compile the latest ORBit 0.3.0 (from CVS) using `./configure
--disable-static'.  This is because several `Makefile.am's explicitly
request `-static' linking.  The affected files are
src/idl-compiler/Makefile.am, test/Makefile.am, and
test/test-poa/Makefile.am.  I removed the `-static' flag, and ORBit
compiled without further problems.

Why was static linking requested in the first place?  We should
perhaps check whether static libraries are being produced and adjust
the Makefiles accordingly.


Alex

Index: src/idl-compiler/Makefile.am
===================================================================
RCS file: /cvs/gnome/ORBit/src/idl-compiler/Makefile.am,v
retrieving revision 1.13
diff -u -r1.13 Makefile.am
--- Makefile.am	1998/09/10 22:06:06	1.13
+++ Makefile.am	1998/09/22 13:50:12
@@ -3,7 +3,7 @@
 INCLUDES=-I$(top_builddir) -I$(top_builddir)/src \
 	 -I$(top_srcdir) -I$(top_srcdir)/src @GLIB_CFLAGS@
 orbit_idl_DEPENDENCIES = $(top_builddir)/libIDL/libIDL.la
-orbit_idl_LDFLAGS = -static
+orbit_idl_LDFLAGS =
 orbit_idl_LDADD = \
 	$(top_builddir)/libIDL/libIDL.la \
 	@GLIB_LIBS@ \

-- 
Alexander Jolk * jolk@ap-pc513b.physik.uni-karlsruhe.de * +49-721-608-3572



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]