Index: tools/build/v1/gcc-tools.jam =================================================================== RCS file: /cvsroot/boost/boost/tools/build/v1/gcc-tools.jam,v retrieving revision 1.100 diff -u -r1.100 gcc-tools.jam --- tools/build/v1/gcc-tools.jam 27 May 2005 17:13:17 -0000 1.100 +++ tools/build/v1/gcc-tools.jam 18 Jun 2005 16:19:27 -0000 @@ -123,6 +123,12 @@ .GCC ?= cc ; .GXX ?= c++ ; } + case NetBSD : + { + flags gcc CFLAGS multi : -pthread ; + flags gcc LINKFLAGS multi : -lpthread ; + # there is no -lrt on NetBSD + } case *BSD : { flags gcc CFLAGS multi : -pthread ; @@ -175,7 +181,11 @@ SONAME = -Wl,-soname, ; flags gcc OBJCOPY_FLAGS on : "--set-section-flags .debug_str=contents,debug" ; } - case OpenBSD : + case DragonFly : + { + SONAME = -Wl,-soname, ; + } + case *BSD : { SONAME = -Wl,-soname, ; } @@ -413,7 +423,7 @@ LNOPT on $(<) = "" ; } # do we use sonames or not? - if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD ) && ! $(NO_GNU_LN) + if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = DRAGONFLY || $(OS) = FREEBSD || $(OS) = LINUX || $(OS) = NETBSD || $(OS) = OPENBSD ) && ! $(NO_GNU_LN) { OUTTAG on $(<) = ".$(DLLVERSION)" ; SOTAG on $(<) = ".$(DLLVERSION)" ; @@ -459,7 +469,7 @@ gcc-spawn $(<) ; gcc-Link-action $(<) : $(>) ; - if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD ) && ! $(NO_GNU_LN) + if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = DRAGONFLY || $(OS) = FREEBSD || $(OS) = LINUX || $(OS) = NETBSD || $(OS) = OPENBSD ) && ! $(NO_GNU_LN) { return "$(<[1]).$(DLLVERSION)" ; }