After only making those two line changes, my dylib's were prebound. That got Xcode to stop whining.
On Mar 11, 2004, at 9:30 AM, ViSolve OpenSSL Support wrote:
Hello,
�
For OpenSSL,� there is no "-prebind" configure option.�You need to edit Makefile.ssl �(as you guessed) under�your OS-specific shared section (identified by�" do_<OS Name>-shared ")� to add any options for building shared libraries.� For what it is worth, an example is shown below:
�
# ./Configure shared --openssldir=/opt/iexpress <YOUR OS name>
�
Edit the shared section of Makefile.ssl as shown below:
============================
����� do_<YOUR OS name>-shared:
����� for i in ${SHLIBDIRS}; do \
������� if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \
��������������� libs="$(LIBKRB5) $$libs"; \
������� fi; \
������� ( set -x; /usr/ccs/bin/ld ${SHARED_LDFLAGS} \
��������������� +vnocompatwarnings \
�����������������-prebind \
��������������� -b -z +s \
��������������� -o lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
��������������� +h lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
��������������� -Fl lib$$i.a -ldld -lc ) || exit 1; \
������� chmod a=rx lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR}; \
������� done
============================
����� # gmake
�
Regards,
�
ViSolve Security Consulting Group
�Email: [EMAIL PROTECTED]
�www.visolve.com
�
----- Original Message -----
From: "Joseph Bruni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 10, 2004 1:56 AM
Subject: adding linker command line options
> I want to be able to add the "-prebind" command line option to the link
> phase when building shared libraries. Is there way to do this from configure
> or do I just hack the Makefile.
> ______________________________________________________________________
> OpenSSL Project�������������������������������� http://www.openssl.org
> User Support Mailing List������������������� [EMAIL PROTECTED]
> Automated List Manager�������������������������� [EMAIL PROTECTED]
>
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
