--- buildlib/environment.mak.in.orig Thu Mar 2 05:56:30 2006 +++ buildlib/environment.mak.in Wed Oct 25 15:51:02 2006 @@ -65,7 +65,14 @@ ifneq ($(words $(filter linux-gnu gnu% %gnu,$(HOST_OS))),0) SONAME_MAGIC=-Wl,-soname -Wl, LFLAGS_SO= -else +endif + +ifneq ($(words $(filter freebsd% %freebsd,$(HOST_OS))),0) + SONAME_MAGIC=-Wl,-soname -Wl, + LFLAGS_SO= +endif + +ifndef SONAME_MAGIC # Do not know how to create shared libraries here. ONLYSTATICLIBS = yes endif