Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 1995 00:25:35 +0200 (MET DST)
From:      Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net>
To:        ports@FreeBSD.org (FreeBSD's ports list)
Subject:   I forgot something in the Makefile for libdlmalloc
Message-ID:  <199506032225.AAA15822@keltia.frmug.fr.net>

next in thread | raw e-mail | index | archive | help
Asami, please apply the following patch to files/Makefile. It fixes a error
that creep when linking shared.

Sympthom is :

 /usr/bin/ld -e start -dc -dp -o foo /usr/lib/crt0.o /tmp/cc0156241.o -ldlmalloc /usr/lib/libgcc.a -lc /usr/lib/libgcc.a
ld: no shared -lmalloc.1.13 available

--- Makefile.orig	Sun Jun  4 00:20:27 1995
+++ Makefile	Sun Jun  4 00:19:07 1995
@@ -33,6 +33,8 @@
 
 .c.so:
 	${CC} -c -fpic ${CFLAGS} $< -o $@
+	ld -x -r $@
+	mv a.out $@
 
 all: ${LIBMALLOC} ${LIBSMALLOC}
 

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
   FreeBSD keltia 2.0-BUILT-19950602 #1: Fri Jun  2 21:01:56 MET DST 1995



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506032225.AAA15822>