Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2012-02-09 00:04:20 +0400
committerZoltan Varga <vargaz@gmail.com>2012-02-09 00:04:31 +0400
commit8e386cce7f723f16624b49b3074b09e3e34da39d (patch)
tree7c02ac5062c4d9eac8cd5418cadb0ed2137cc699 /libgc/Makefile.am
parent112eb895ba538c6d1bd191187bc95b51bdb26408 (diff)
Get rid of the <foo>-static libraries, libtool doesn't know that they need to be compiled only in static mode, so each source file was compiled up to 8 times. Pass -static in the _LDFLAGS for the mono executables instead.
Diffstat (limited to 'libgc/Makefile.am')
-rw-r--r--libgc/Makefile.am11
1 files changed, 1 insertions, 10 deletions
diff --git a/libgc/Makefile.am b/libgc/Makefile.am
index e8a0fd5cb3d..4de6cbcba50 100644
--- a/libgc/Makefile.am
+++ b/libgc/Makefile.am
@@ -24,12 +24,7 @@ SUBDIRS = m4 include doc
INCLUDES = -I$(top_builddir)/.. -I$(top_srcdir)/..
-#
-# libtool is not capable of creating shared/static versions of a convenience
-# library, so we have to do it ourselves
-#
-
-noinst_LTLIBRARIES = libmonogc.la libmonogc-static.la
+noinst_LTLIBRARIES = libmonogc.la
EXTRA_DIST =
## more items will be succesively added below
@@ -62,10 +57,6 @@ EXTRA_libmonogc_la_SOURCES = alpha_mach_dep.S \
rs6000_mach_dep.s sparc_mach_dep.S sparc_netbsd_mach_dep.s \
sparc_sunos4_mach_dep.s ia64_save_regs_in_stack.s
-libmonogc_static_la_SOURCES = $(libmonogc_la_SOURCES)
-libmonogc_static_la_LIBADD = $(libmonogc_la_LIBADD)
-libmonogc_static_la_LDFLAGS = -static
-
EXTRA_DIST += alpha_mach_dep.S mips_sgi_mach_dep.s sparc_mach_dep.S
AM_CFLAGS = @GC_CFLAGS@