[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
static linking during compilation
From: |
Toby Murray |
Subject: |
static linking during compilation |
Date: |
Tue, 01 Jul 2003 17:15:09 +0930 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 |
Hi,
is there an easy way to specify libraries which are required to be
statically linked during compilation of glibc.
I want to statically link OpenSSL libraries with the socket code.
I'm hoping I can just add a definition to the Makefile in the socket/
subdirectory - something along the lines of
LDLIBS-socket := -lssl
or something like that and it will go and statically link the routines
defined there with the ssl static library...
can this be achieved? and if so, whats the correct way to go about it?
thanks for your help
Toby
--
Toby Murray
Advanced Computer Capabilities Unit
Information Networks Division
Defence Science and Technology Organisation
Edinburgh, South Australia
Phone: (08) 8259 4134
Email: address@hidden
IMPORTANT: This e-mail remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the
Crimes Act 1914. If you have received this e-mail in error, you are
requested to contact the sender and delete the e-mail.
- static linking during compilation,
Toby Murray <=