Date: Fri, 22 Sep 2000 15:13:02 +0200 (CEST) From: Espen Skoglund <esk@ira.uka.de> To: ports@freebsd.org Subject: Modifying linkopts in libtool Message-ID: <14795.15262.123604.865457@i30nb2.ira.uka.de>
next in thread | raw e-mail | index | archive | help
Hi, I was trying to create a port containing a shared library using the _fini() function for cleanup. The package was also using libtool, and it had put `linkopts=-nostdlib' in its ltmain.sh in order avoid conflicts with the _fini() function in crtbeginS.o. However, when I specify USE_LIBTOOL in the port-makefile, the port-version of libtool is used instead of the one inside the package. Does anyone have any suggestion of how to cope with this? I thought about modifying the package makefile or something, but this is sort of troublesome because libtool ignores most of the command line options that you pass to it. The soultion that I've currently come up with is to add a pre-build target that patches the produced libtool script to include the linkopts line above, but I would prefer something that could be incorporated into the package. eSk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14795.15262.123604.865457>