Date: Mon, 23 May 2005 20:43:07 -0700 From: "Darren Pilgrim" <dmp@bitfreak.org> To: <hackers@freebsd.org> Subject: Forcing static-linking on a port? Message-ID: <000401c56012$b34a3570$0a2a15ac@SMILEY>
next in thread | raw e-mail | index | archive | help
I need to make use of a port during start up, but it has library dependencies that aren't available, before the complete library path is established. I've tried the following: NO_SHARED=3Dtrue (added to /etc/make.conf) make -DNO_SHARED make LDFLAGS+=3D-static Every time, running file on the compiled program tells me that the = binary is dynamically-linked. I couldn't find anything else in any man pages, Mk files, mailing lists, Google, etc. Sorry for the semi-inappropriate = list choice, but this one would get swallowed up on -questions.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000401c56012$b34a3570$0a2a15ac>