From a76235c0088946dd8b8d28b8428a9f91a86023ae Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 13 Jan 2004 08:04:05 +0000 Subject: Matt Veenstra updated the Mac OS X framework files --- lib/libcurl.framework.make | 32 ++++++++++++++++++-------------- lib/libcurl.plist | 6 +++--- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/lib/libcurl.framework.make b/lib/libcurl.framework.make index 27bcb6fdf..e57f88c12 100644 --- a/lib/libcurl.framework.make +++ b/lib/libcurl.framework.make @@ -1,17 +1,8 @@ -# -# libcurl.framework.make is the make file. There are comments about unique -# Mac OS X things if you want to read. It can be built by calling: -# "make build -e -f libcurl.framework.make" -# -# The libcurl.plist is a basically the resource bit of the framework on Mac OS -# X. It is a simple XML file so you can open this to see what it is. -# Version, name, etc. -# - TMP_DIR = ../lib/.lib LIB_DIR = ../lib -# for debug symbols add the -g option +# for debug symbols add the -g option. Remove the -O2 option for best debuggin. +# Can be compiled with -O3 optimizations. C_OPTIONS = \ -fno-common \ -O2 \ @@ -22,13 +13,26 @@ C_OPTIONS = \ -Wall # The 2 -framework tags are the needed Mac OS X sytem libs -LIBRARIES = -framework CoreFoundation -framework CoreServices -lssl -lcrypto -lz +# must link to version 0.9 of libssl to run on Mac OS X 10.2. 10.1 is not tested but should work. +LIBRARIES = -framework CoreFoundation \ + -framework CoreServices \ + /usr/lib/libssl.dylib \ + /usr/lib/libcrypto.dylib \ + -lz # These libtool options are needed for a framework. # @executable_path tells the application that links to this library where to find it. -# On Mac OS X we usually put frameworks iniside the application bundle in a frameworks folder. -LINK_OPTIONS = -prebind -dynamiclib -install_name @executable_path/../frameworks/libcurl.framework/libcurl +# On Mac OS X frameworks are usually iniside the application bundle in a frameworks folder. +# Define a seg1addr so prebinding does not overlap with other frameworks or bundles. +# For prebinding 0x10400000 was chosen a bit at random. +# If this overlaps one of you current libs just change in the makefile. +# This address is safe for all built in frameworks. +LINK_OPTIONS = -prebind \ + -seg1addr 0x10400000 \ + -dynamiclib \ + -install_name @executable_path/../frameworks/libcurl.framework/libcurl +# This is the file list. It is not dynamically generated so this must be updated if new files are added to the build. OBJECTS = $(TMP_DIR)/base64.o \ $(TMP_DIR)/connect.o \ $(TMP_DIR)/content_encoding.o \ diff --git a/lib/libcurl.plist b/lib/libcurl.plist index 9b0fa0720..b17119cca 100644 --- a/lib/libcurl.plist +++ b/lib/libcurl.plist @@ -15,7 +15,7 @@ com.libcurl.libcurl CFBundleVersion - 7.10.8 + 7.11.0 CFBundleName libcurl @@ -27,9 +27,9 @@ ???? CFBundleShortVersionString - libcurl 7.10.8 + libcurl 7.11.0 CFBundleGetInfoString - libcurl.plist 7.10.8 + libcurl.plist 7.11.0 \ No newline at end of file -- cgit v1.2.3