All pastes #188438 Raw Edit

Someone

public text v1 · immutable
·published 2006-10-02 03:13 UTC
rendered paste body
--- configure.orig Sun Oct  1 20:11:31 2006
+++ configure Sun Oct  1 20:08:29 2006
@@ -3475,7 +3475,11 @@
     fi
     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
     DSO_CFLAGS=-fPIC
+#ifdef __FreeBSD__
+    DSO_LDOPTS='-lpthread -shared -Wl,-soname -Wl,$(notdir $@)'
+#else
     DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
+#endif
     MDCPUCFG_H=_freebsd.cfg
     PR_MD_CSRCS=freebsd.c
     ;;