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>2010-12-01 19:52:53 +0300
committerZoltan Varga <vargaz@gmail.com>2010-12-01 19:53:48 +0300
commit103450e4a270ed47fa93fc0a99fcdb95e602c5fa (patch)
tree9434f6567847b48e1260193dae9a89638ea3e991 /libgc/Makefile.am
parent3be9f5a036404609d88a94ce60d09dcf7c45d206 (diff)
Fix the OSC build breakage by only compiling mach_dep.c on openbsd.
Diffstat (limited to 'libgc/Makefile.am')
-rw-r--r--libgc/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/libgc/Makefile.am b/libgc/Makefile.am
index 45d4b0f6925..d4c1c24bb82 100644
--- a/libgc/Makefile.am
+++ b/libgc/Makefile.am
@@ -40,6 +40,12 @@ else
asm_libgc_sources =
endif
+if OPENBSD
+os_libgc_sources = mach_dep.c
+else
+os_libgc_sources =
+endif
+
libmonogc_la_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \
dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c \
malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c \
@@ -47,7 +53,7 @@ obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c \
solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c \
backgraph.c win32_threads.c \
pthread_support.c pthread_stop_world.c darwin_stop_world.c \
-openbsd_stop_world.c mach_dep.c $(asm_libgc_sources)
+openbsd_stop_world.c $(os_libgc_sources) $(asm_libgc_sources)
# Include THREADDLLIBS here to ensure that the correct versions of
# linuxthread semaphore functions get linked: