Skip to content

Commit ff3d2ad

Browse files
committed
Alter packaging strategy.
Build a static library, rather than a framework. The AppStore doesn't like static frameworks.
1 parent aef0818 commit ff3d2ad

File tree

5 files changed

+72
-138
lines changed

5 files changed

+72
-138
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014-2016 Russell Keith-Magee.
1+
Copyright (c) 2014-2018 Russell Keith-Magee.
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 64 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
# - iOS - build everything for iOS
66
# - tvOS - build everything for tvOS
77
# - watchOS - build everything for watchOS
8-
# - OpenSSL.framework-macOS - build OpenSSL.framework for macOS
9-
# - OpenSSL.framework-iOS - build OpenSSL.framework for iOS
10-
# - OpenSSL.framework-tvOS - build OpenSSL.framework for tvOS
11-
# - OpenSSL.framework-watchOS - build OpenSSL.framework for watchOS
12-
# - BZip2.framework-macOS - build BZip2.framework for macOS
13-
# - BZip2.framework-iOS - build BZip2.framework for iOS
14-
# - BZip2.framework-tvOS - build BZip2.framework for tvOS
15-
# - BZip2.framework-watchOS - build BZip2.framework for watchOS
16-
# - XZ.framework-macOS - build XZ.framework for macOS
17-
# - XZ.framework-iOS - build XZ.framework for iOS
18-
# - XZ.framework-tvOS - build XZ.framework for tvOS
19-
# - XZ.framework-watchOS - build XZ.framework for watchOS
20-
# - Python.framework-macOS - build Python.framework for macOS
21-
# - Python.framework-iOS - build Python.framework for iOS
22-
# - Python.framework-tvOS - build Python.framework for tvOS
23-
# - Python.framework-watchOS - build Python.framework for watchOS
8+
# - OpenSSL-macOS - build OpenSSL for macOS
9+
# - OpenSSL-iOS - build OpenSSL for iOS
10+
# - OpenSSL-tvOS - build OpenSSL for tvOS
11+
# - OpenSSL-watchOS - build OpenSSL for watchOS
12+
# - BZip2-macOS - build BZip2 for macOS
13+
# - BZip2-iOS - build BZip2 for iOS
14+
# - BZip2-tvOS - build BZip2 for tvOS
15+
# - BZip2-watchOS - build BZip2 for watchOS
16+
# - XZ-macOS - build XZ for macOS
17+
# - XZ-iOS - build XZ for iOS
18+
# - XZ-tvOS - build XZ for tvOS
19+
# - XZ-watchOS - build XZ for watchOS
20+
# - Python-macOS - build Python for macOS
21+
# - Python-iOS - build Python for iOS
22+
# - Python-tvOS - build Python for tvOS
23+
# - Python-watchOS - build Python for watchOS
2424

2525
# Current director
2626
PROJECT_DIR=$(shell pwd)
@@ -102,7 +102,7 @@ upload: $(foreach os,$(OS),$(os))
102102
clean-OpenSSL:
103103
rm -rf build/*/openssl-$(OPENSSL_VERSION)-* \
104104
build/*/libssl.a build/*/libcrypto.a \
105-
build/*/OpenSSL.framework
105+
build/*/OpenSSL
106106

107107
# Download original OpenSSL source code archive.
108108
downloads/openssl-$(OPENSSL_VERSION).tgz:
@@ -149,7 +149,7 @@ clean-Python:
149149
build/*/Python-$(PYTHON_VERSION)-* \
150150
build/*/libpython$(PYTHON_VER)m.a \
151151
build/*/pyconfig-*.h \
152-
build/*/Python.framework
152+
build/*/Python
153153

154154
# Download original Python source code archive.
155155
downloads/Python-$(PYTHON_VERSION).tgz:
@@ -222,12 +222,16 @@ endif
222222

223223
# Build OpenSSL
224224
$$(OPENSSL_DIR-$1)/libssl.a $$(OPENSSL_DIR-$1)/libcrypto.a: $$(OPENSSL_DIR-$1)/Makefile
225+
# Installing multiple times causes problems with the man directory.
226+
# Since we're just overwriting anyway, and we're not going to keep the man files
227+
# delete the man directory (if it exists) first.
228+
rm -rf $(PROJECT_DIR)/build/$2/openssl/man
225229
# Make the build
226230
cd $$(OPENSSL_DIR-$1) && \
227231
CC="$$(CC-$1)" \
228232
CROSS_TOP="$$(dir $$(SDK_ROOT-$1)).." \
229233
CROSS_SDK="$$(notdir $$(SDK_ROOT-$1))" \
230-
make all
234+
make all && make install
231235

232236
# Unpack BZip2
233237
$$(BZIP2_DIR-$1)/Makefile: downloads/bzip2-$(BZIP2_VERSION).tgz
@@ -276,7 +280,7 @@ ifeq ($2,macOS)
276280
cd $$(PYTHON_DIR-$1) && MACOSX_DEPLOYMENT_TARGET=$$(MACOSX_DEPLOYMENT_TARGET) ./configure \
277281
--prefix=$(PROJECT_DIR)/$$(PYTHON_DIR-$1)/dist \
278282
--without-doc-strings --enable-ipv6 --without-ensurepip \
279-
$$(PYTHON_CONFIGU.RE-$2)
283+
$$(PYTHON_CONFIGURE-$2)
280284
else
281285
cd $$(PYTHON_DIR-$1) && PATH=$(PROJECT_DIR)/build/macOS/python/bin:$(PATH) ./configure \
282286
CC="$$(CC-$1)" LD="$$(CC-$1)" \
@@ -289,7 +293,7 @@ else
289293
endif
290294

291295
# Build Python
292-
$$(PYTHON_DIR-$1)/dist/lib/libpython$(PYTHON_VER)m.a: build/$2/OpenSSL.framework build/$2/BZip2.framework build/$2/XZ.framework $$(PYTHON_DIR-$1)/Makefile
296+
$$(PYTHON_DIR-$1)/dist/lib/libpython$(PYTHON_VER)m.a: build/$2/Support/OpenSSL build/$2/Support/BZip2 build/$2/Support/XZ $$(PYTHON_DIR-$1)/Makefile
293297
# Build target Python
294298
cd $$(PYTHON_DIR-$1) && PATH=$(PROJECT_DIR)/$(PYTHON_DIR-macOS)/dist/bin:$(PATH) make all install
295299

@@ -320,11 +324,11 @@ endef
320324
define build
321325
$$(foreach target,$$(TARGETS-$1),$$(eval $$(call build-target,$$(target),$1)))
322326

323-
OPENSSL_FRAMEWORK-$1=build/$1/OpenSSL.framework
324-
BZIP2_FRAMEWORK-$1=build/$1/BZip2.framework
325-
XZ_FRAMEWORK-$1=build/$1/XZ.framework
326-
PYTHON_FRAMEWORK-$1=build/$1/Python.framework
327-
PYTHON_RESOURCES-$1=$$(PYTHON_FRAMEWORK-$1)/Versions/$(PYTHON_VER)/Resources
327+
OPENSSL_FRAMEWORK-$1=build/$1/Support/OpenSSL
328+
BZIP2_FRAMEWORK-$1=build/$1/Support/BZip2
329+
XZ_FRAMEWORK-$1=build/$1/Support/XZ
330+
PYTHON_FRAMEWORK-$1=build/$1/Support/Python
331+
PYTHON_RESOURCES-$1=$$(PYTHON_FRAMEWORK-$1)/Resources
328332

329333
$1: dist/Python-$(PYTHON_VER)-$1-support.b$(BUILD_NUMBER).tar.gz
330334

@@ -333,40 +337,33 @@ clean-$1:
333337

334338
dist/Python-$(PYTHON_VER)-$1-support.b$(BUILD_NUMBER).tar.gz: $$(BZIP2_FRAMEWORK-$1) $$(XZ_FRAMEWORK-$1) $$(OPENSSL_FRAMEWORK-$1) $$(PYTHON_FRAMEWORK-$1)
335339
mkdir -p dist
336-
echo "Python version: $(PYTHON_VERSION) " > build/$1/support.version
337-
echo "Build: $(BUILD_NUMBER)" >> build/$1/support.version
340+
echo "Python version: $(PYTHON_VERSION) " > build/$1/Support/VERSIONS
341+
echo "Build: $(BUILD_NUMBER)" >> build/$1/Support/VERSIONS
342+
echo "---------------------" >> build/$1/Support/VERSIONS
343+
echo "BZip2: $(BZIP2_VERSION)" >> build/$1/Support/VERSIONS
344+
echo "OpenSSL: $(OPENSSL_VERSION)" >> build/$1/Support/VERSIONS
345+
echo "XZ: $(XZ_VERSION)" >> build/$1/Support/VERSIONS
338346
ifeq ($1,macOS)
339347
cp -r build/$1/Python-$(PYTHON_VERSION)-macosx.x86_64/dist build/$1/python
340-
tar zcvf $$@ -C build/$1 support.version python
348+
mv build/$1/Support/VERSIONS build/$1
349+
tar zcvf $$@ -C build/$1 VERSIONS python
341350
else
342-
tar zcvf $$@ -C build/$1 support.version $$(notdir $$^)
351+
tar zcvf $$@ -C build/$1 Support
343352
endif
344353

345-
# Build OpenSSL.framework
346-
OpenSSL.framework-$1: $$(OPENSSL_FRAMEWORK-$1)
354+
# Build OpenSSL
355+
OpenSSL-$1: $$(OPENSSL_FRAMEWORK-$1)
347356

348357
$$(OPENSSL_FRAMEWORK-$1): build/$1/libssl.a build/$1/libcrypto.a
349358
# Create framework directory structure
350-
mkdir -p $$(OPENSSL_FRAMEWORK-$1)/Versions/$(OPENSSL_VERSION)/Resources
359+
mkdir -p $$(OPENSSL_FRAMEWORK-$1)
351360

352361
# Copy the headers
353-
cp -f -r $$(OPENSSL_DIR-$$(firstword $$(TARGETS-$1)))/include $$(OPENSSL_FRAMEWORK-$1)/Versions/$(OPENSSL_VERSION)/Headers
362+
cp -f -r $$(OPENSSL_DIR-$$(firstword $$(TARGETS-$1)))/include $$(OPENSSL_FRAMEWORK-$1)/Headers
354363

355364
# Create the fat library
356365
xcrun libtool -no_warning_for_no_symbols -static \
357-
-o $$(OPENSSL_FRAMEWORK-$1)/Versions/$(OPENSSL_VERSION)/OpenSSL $$^
358-
359-
# Create symlinks
360-
ln -fs $(OPENSSL_VERSION) $$(OPENSSL_FRAMEWORK-$1)/Versions/Current
361-
ln -fs Versions/Current/Headers $$(OPENSSL_FRAMEWORK-$1)
362-
ln -fs Versions/Current/Resources $$(OPENSSL_FRAMEWORK-$1)
363-
ln -fs Versions/Current/OpenSSL $$(OPENSSL_FRAMEWORK-$1)
364-
365-
# Create plist file
366-
sed -e "s/xxxNAMExxx/OpenSSL/g" $(PROJECT_DIR)/patch/Info.plist.tmpl > $$(OPENSSL_FRAMEWORK-$1)/Resources/Info.plist.1
367-
sed -e "s/xxxBUNDLExxx/org.openssl/g" $$(OPENSSL_FRAMEWORK-$1)/Resources/Info.plist.1 > $$(OPENSSL_FRAMEWORK-$1)/Resources/Info.plist.2
368-
sed -e "s/xxxVERSIONxxx/$$(OPENSSL_VERSION)/g" $$(OPENSSL_FRAMEWORK-$1)/Resources/Info.plist.2 > $$(OPENSSL_FRAMEWORK-$1)/Resources/Info.plist
369-
rm $$(OPENSSL_FRAMEWORK-$1)/Resources/Info.plist.1 $$(OPENSSL_FRAMEWORK-$1)/Resources/Info.plist.2
366+
-o $$(OPENSSL_FRAMEWORK-$1)/libOpenSSL.a $$^
370367

371368

372369
build/$1/libssl.a: $$(foreach target,$$(TARGETS-$1),$$(OPENSSL_DIR-$$(target))/libssl.a)
@@ -377,83 +374,59 @@ build/$1/libcrypto.a: $$(foreach target,$$(TARGETS-$1),$$(OPENSSL_DIR-$$(target)
377374
mkdir -p build/$1
378375
xcrun lipo -create -output $$@ $$^
379376

380-
# Build BZip2.framework
381-
BZip2.framework-$1: $$(BZIP2_FRAMEWORK-$1)
377+
# Build BZip2
378+
BZip2-$1: $$(BZIP2_FRAMEWORK-$1)
382379

383380
$$(BZIP2_FRAMEWORK-$1): build/$1/bzip2/lib/libbz2.a
384381
# Create framework directory structure
385-
mkdir -p $$(BZIP2_FRAMEWORK-$1)/Versions/$(BZIP2_VERSION)/Resources
382+
mkdir -p $$(BZIP2_FRAMEWORK-$1)
386383

387384
# Copy the headers
388-
cp -f -r build/$1/bzip2/include $$(BZIP2_FRAMEWORK-$1)/Versions/$(BZIP2_VERSION)/Headers
385+
cp -f -r build/$1/bzip2/include $$(BZIP2_FRAMEWORK-$1)/Headers
389386

390387
# Create the fat library
391388
xcrun libtool -no_warning_for_no_symbols -static \
392-
-o $$(BZIP2_FRAMEWORK-$1)/Versions/$(BZIP2_VERSION)/bzip2 $$^
393-
394-
# Create symlinks
395-
ln -fs $(BZIP2_VERSION) $$(BZIP2_FRAMEWORK-$1)/Versions/Current
396-
ln -fs Versions/Current/Headers $$(BZIP2_FRAMEWORK-$1)
397-
ln -fs Versions/Current/Resources $$(BZIP2_FRAMEWORK-$1)
398-
ln -fs Versions/Current/bzip2 $$(BZIP2_FRAMEWORK-$1)
399-
400-
# Create plist file
401-
sed -e "s/xxxNAMExxx/BZip2/g" $(PROJECT_DIR)/patch/Info.plist.tmpl > $$(BZIP2_FRAMEWORK-$1)/Resources/Info.plist.1
402-
sed -e "s/xxxBUNDLExxx/org.bzip.bzip2/g" $$(BZIP2_FRAMEWORK-$1)/Resources/Info.plist.1 > $$(BZIP2_FRAMEWORK-$1)/Resources/Info.plist.2
403-
sed -e "s/xxxVERSIONxxx/$$(BZIP2_VERSION)/g" $$(BZIP2_FRAMEWORK-$1)/Resources/Info.plist.2 > $$(BZIP2_FRAMEWORK-$1)/Resources/Info.plist
404-
rm $$(BZIP2_FRAMEWORK-$1)/Resources/Info.plist.1 $$(BZIP2_FRAMEWORK-$1)/Resources/Info.plist.2
389+
-o $$(BZIP2_FRAMEWORK-$1)/libbzip2.a $$^
405390

406391

407392
build/$1/bzip2/lib/libbz2.a: $$(foreach target,$$(TARGETS-$1),$$(BZIP2_DIR-$$(target))/libbz2.a)
408393
mkdir -p build/$1
409394
xcrun lipo -create -o $$@ $$^
410395

411-
# Build XZ.framework
412-
XZ.framework-$1: $$(XZ_FRAMEWORK-$1)
396+
# Build XZ
397+
XZ-$1: $$(XZ_FRAMEWORK-$1)
413398

414399
$$(XZ_FRAMEWORK-$1): build/$1/xz/lib/liblzma.a
415400
# Create framework directory structure
416-
mkdir -p $$(XZ_FRAMEWORK-$1)/Versions/$(XZ_VERSION)/Resources
401+
mkdir -p $$(XZ_FRAMEWORK-$1)
417402

418403
# Copy the headers
419-
cp -f -r build/$1/xz/include $$(XZ_FRAMEWORK-$1)/Versions/$(XZ_VERSION)/Headers
404+
cp -f -r build/$1/xz/include $$(XZ_FRAMEWORK-$1)/Headers
420405

421406
# Create the fat library
422407
xcrun libtool -no_warning_for_no_symbols -static \
423-
-o $$(XZ_FRAMEWORK-$1)/Versions/$(XZ_VERSION)/xz $$^
424-
425-
# Create symlinks
426-
ln -fs $(XZ_VERSION) $$(XZ_FRAMEWORK-$1)/Versions/Current
427-
ln -fs Versions/Current/Headers $$(XZ_FRAMEWORK-$1)
428-
ln -fs Versions/Current/Resources $$(XZ_FRAMEWORK-$1)
429-
ln -fs Versions/Current/xz $$(XZ_FRAMEWORK-$1)
430-
431-
# Create plist file
432-
sed -e "s/xxxNAMExxx/XZ/g" $(PROJECT_DIR)/patch/Info.plist.tmpl > $$(XZ_FRAMEWORK-$1)/Resources/Info.plist.1
433-
sed -e "s/xxxBUNDLExxx/org.tukaani.xz/g" $$(XZ_FRAMEWORK-$1)/Resources/Info.plist.1 > $$(XZ_FRAMEWORK-$1)/Resources/Info.plist.2
434-
sed -e "s/xxxVERSIONxxx/$$(XZ_VERSION)/g" $$(XZ_FRAMEWORK-$1)/Resources/Info.plist.2 > $$(XZ_FRAMEWORK-$1)/Resources/Info.plist
435-
rm $$(XZ_FRAMEWORK-$1)/Resources/Info.plist.1 $$(XZ_FRAMEWORK-$1)/Resources/Info.plist.2
408+
-o $$(XZ_FRAMEWORK-$1)/libxz.a $$^
436409

437410
build/$1/xz/lib/liblzma.a: $$(foreach target,$$(TARGETS-$1),$$(XZ_DIR-$$(target))/src/liblzma/.libs/liblzma.a)
438411
mkdir -p build/$1
439412
xcrun lipo -create -o $$@ $$^
440413

441-
$1: Python.framework-$1
414+
$1: Python-$1
442415

443-
Python.framework-$1: $$(PYTHON_FRAMEWORK-$1)
416+
Python-$1: $$(PYTHON_FRAMEWORK-$1)
444417

445-
# Build Python.framework
418+
# Build Python
446419
$$(PYTHON_FRAMEWORK-$1): build/$1/libpython$(PYTHON_VER)m.a $$(foreach target,$$(TARGETS-$1),build/$1/$$(pyconfig.h-$$(target)))
447420
mkdir -p $$(PYTHON_RESOURCES-$1)/include/python$(PYTHON_VER)m
448421

449422
# Copy the headers. The headers are the same for every platform, except for pyconfig.h
450-
cp -f -r $$(PYTHON_DIR-$$(firstword $$(TARGETS-$1)))/dist/include/python$(PYTHON_VER)m $$(PYTHON_FRAMEWORK-$1)/Versions/$(PYTHON_VER)/Headers
451-
cp -f $$(filter %.h,$$^) $$(PYTHON_FRAMEWORK-$1)/Versions/$(PYTHON_VER)/Headers
452-
cp -f $$(PYTHON_DIR-$$(firstword $$(TARGETS-$1)))/iOS/include/pyconfig.h $$(PYTHON_FRAMEWORK-$1)/Versions/$(PYTHON_VER)/Headers
423+
cp -f -r $$(PYTHON_DIR-$$(firstword $$(TARGETS-$1)))/dist/include/python$(PYTHON_VER)m $$(PYTHON_FRAMEWORK-$1)/Headers
424+
cp -f $$(filter %.h,$$^) $$(PYTHON_FRAMEWORK-$1)/Headers
425+
cp -f $$(PYTHON_DIR-$$(firstword $$(TARGETS-$1)))/iOS/include/pyconfig.h $$(PYTHON_FRAMEWORK-$1)/Headers
453426

454427
# Copy Python.h and pyconfig.h into the resources include directory
455-
cp -f -r $$(PYTHON_FRAMEWORK-$1)/Versions/$(PYTHON_VER)/Headers/pyconfig*.h $$(PYTHON_RESOURCES-$1)/include/python$(PYTHON_VER)m
456-
cp -f -r $$(PYTHON_FRAMEWORK-$1)/Versions/$(PYTHON_VER)/Headers/Python.h $$(PYTHON_RESOURCES-$1)/include/python$(PYTHON_VER)m
428+
cp -f -r $$(PYTHON_FRAMEWORK-$1)/Headers/pyconfig*.h $$(PYTHON_RESOURCES-$1)/include/python$(PYTHON_VER)m
429+
cp -f -r $$(PYTHON_FRAMEWORK-$1)/Headers/Python.h $$(PYTHON_RESOURCES-$1)/include/python$(PYTHON_VER)m
457430

458431
# Copy the standard library from the simulator build
459432
ifneq ($(TEST),)
@@ -468,19 +441,8 @@ else
468441
endif
469442

470443
# Copy fat library
471-
cp -f $$(filter %.a,$$^) $$(PYTHON_FRAMEWORK-$1)/Versions/$(PYTHON_VER)/Python
472-
473-
# Create symlinks
474-
ln -fs $(PYTHON_VER) $$(PYTHON_FRAMEWORK-$1)/Versions/Current
475-
ln -fs Versions/Current/Headers $$(PYTHON_FRAMEWORK-$1)
476-
ln -fs Versions/Current/Resources $$(PYTHON_FRAMEWORK-$1)
477-
ln -fs Versions/Current/Python $$(PYTHON_FRAMEWORK-$1)
478-
479-
# Create plist file
480-
sed -e "s/xxxNAMExxx/Python/g" $(PROJECT_DIR)/patch/Info.plist.tmpl > $$(PYTHON_RESOURCES-$1)/Info.plist.1
481-
sed -e "s/xxxBUNDLExxx/org.python/g" $$(PYTHON_RESOURCES-$1)/Info.plist.1 > $$(PYTHON_RESOURCES-$1)/Info.plist.2
482-
sed -e "s/xxxVERSIONxxx/$$(PYTHON_VERSION)/g" $$(PYTHON_RESOURCES-$1)/Info.plist.2 > $$(PYTHON_RESOURCES-$1)/Info.plist
483-
rm $$(PYTHON_RESOURCES-$1)/Info.plist.1 $$(PYTHON_RESOURCES-$1)/Info.plist.2
444+
cp -f $$(filter %.a,$$^) $$(PYTHON_FRAMEWORK-$1)/libPython.a
445+
484446

485447
# Build libpython fat library
486448
build/$1/libpython$(PYTHON_VER)m.a: $$(foreach target,$$(TARGETS-$1),$$(PYTHON_DIR-$$(target))/dist/lib/libpython$(PYTHON_VER)m.a)

README.rst

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ This is a meta-package for building a version of Python that can be embedded
99
into a macOS, iOS, tvOS or watchOS project.
1010

1111
It works by downloading, patching, and building a fat binary of Python and
12-
selected pre-requisites, and packaging them both in Apple Framework format.
12+
selected pre-requisites, and packaging them as static libraries that can be
13+
incorporated into an XCode project.
1314

1415
The binaries support the ``$(ARCHS_STANDARD)`` set - that is, x86_64 for
15-
macOS, armv7 and arm64 for iOS devices, arm64 for appleTV devices, and armv7k
16-
for watchOS. This should enable the code to run on:
16+
macOS; armv7, armv7s and arm64 for iOS devices, arm64 for appleTV devices, and
17+
armv7k for watchOS. This should enable the code to run on:
1718

1819
* MacBook
1920
* iMac
@@ -52,12 +53,3 @@ will be in the `dist` directory.
5253
.. _for iOS: https://s3-us-west-2.amazonaws.com/pybee-briefcase-support/Python-Apple-support/3.4/iOS/Python-3.4-iOS-support.b4.tar.gz
5354
.. _for tvOS: https://s3-us-west-2.amazonaws.com/pybee-briefcase-support/Python-Apple-support/3.4/tvOS/Python-3.4-tvOS-support.b4.tar.gz
5455
.. _for watchOS: https://s3-us-west-2.amazonaws.com/pybee-briefcase-support/Python-Apple-support/3.4/watchOS/Python-3.4-watchOS-support.b4.tar.gz
55-
56-
Acknowledgements
57-
----------------
58-
59-
The approach to framework packaging is drawn from `Jeff Verkoeyen`_, and
60-
`Ernesto García's`_ tutorials.
61-
62-
.. _Jeff Verkoeyen: https://github.com/jverkoey/iOS-Framework
63-
.. _Ernesto García's: http://www.raywenderlich.com/41377/creating-a-static-library-in-ios-tutorial

patch/Info.plist.tmpl

Lines changed: 0 additions & 20 deletions
This file was deleted.

patch/Python/Setup.embedded

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#####################################################################
44

55
_bisect _bisectmodule.c
6-
_bz2 _bz2module.c -I$(srcdir)/../bzip2/include -L$(srcdir)/../bzip2/lib -lbz2
6+
_bz2 _bz2module.c -I$(srcdir)/../bzip2/include -L$(srcdir)/../Support/BZip2 -lbz2
77
_codecs_cn cjkcodecs/_codecs_cn.c
88
_codecs_hk cjkcodecs/_codecs_hk.c
99
_codecs_iso2022 cjkcodecs/_codecs_iso2022.c
@@ -19,7 +19,7 @@ _elementtree _elementtree.c \
1919
_heapq _heapqmodule.c
2020
_json _json.c
2121
_lsprof _lsprof.o rotatingtree.c
22-
_lzma _lzmamodule.c -I$(srcdir)/../xz/include -L$(srcdir)/../xz/lib -llzma
22+
_lzma _lzmamodule.c -I$(srcdir)/../xz/include -L$(srcdir)/../Support/XZ -llzma
2323
_md5 md5module.c
2424
_multibytecodec cjkcodecs/multibytecodec.c
2525
_multiprocessing _multiprocessing/multiprocessing.c _multiprocessing/semaphore.c
@@ -41,7 +41,7 @@ _sqlite3 -I$(srcdir)/Modules/_sqlite -DMODULE_NAME='\"sqlite3\"' -DSQLITE_OMIT_L
4141
_sqlite/row.c \
4242
_sqlite/statement.c \
4343
_sqlite/util.c
44-
_ssl _ssl.c -I$(srcdir)/../OpenSSL.framework/Headers -framework OpenSSL -F$(srcdir)/.. -DUSE_SSL
44+
_ssl _ssl.c -I$(srcdir)/../openssl/include -L$(srcdir)/../Support/OpenSSL -lOpenSSL -DUSE_SSL
4545
_struct _struct.c
4646
array arraymodule.c
4747
audioop audioop.c

0 commit comments

Comments
 (0)