Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Steven Gueguen
slapos
Commits
c33d53e4
Commit
c33d53e4
authored
May 19, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mac patch bzip2.
Will use Darwin linker args if we have a Darwin platform.
parent
a9901c0a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
component/bzip2/Makefile-libbz2_so_mac.patch
component/bzip2/Makefile-libbz2_so_mac.patch
+19
-0
component/bzip2/buildout.cfg
component/bzip2/buildout.cfg
+8
-0
No files found.
component/bzip2/Makefile-libbz2_so_mac.patch
0 → 100644
View file @
c33d53e4
--- Makefile-libbz2_so 2012-05-19 16:17:59.000000000 +0200
+++ Makefile-libbz2_so2 2012-05-19 16:17:42.000000000 +0200
@@ -34,8 +34,15 @@
decompress.o \
bzlib.o
+UNAME=$(shell uname)
+ifeq ($(UNAME), Darwin)
+ soname=-install_name
+else
+ soname=-soname
+endif
+
all: $(OBJS)
- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS)
+ $(CC) -shared -Wl,$(soname) -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS)
$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6
rm -f libbz2.so.1.0
ln -s libbz2.so.1.0.6 libbz2.so.1.0
component/bzip2/buildout.cfg
View file @
c33d53e4
...
...
@@ -9,10 +9,18 @@ md5sum = 066c8355b7d726f30176ea5b6a35e1a2
download-only = true
filename = bzip2-hooks.py
[bzip2-Makefile-libbz2-so-mac.patch]
recipe = hexagonit.recipe.download
md5sum = be76b4f836977d32913087eeb4a74653
url = ${:_profile_base_location_}/${:filename}
filename = Makefile-libbz2_so_mac.patch
download-only = true
[bzip2]
recipe = hexagonit.recipe.cmmi
url = http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
md5sum = 00b516f4704d4a7cb50a1d97e6e8e15b
patches = ${bzip2-Makefile-libbz2-so-mac.patch:location}/${bzip2-Makefile-libbz2-so-mac.patch:filename}
configure-command = true
make-options =
PREFIX=${buildout:parts-directory}/${:_buildout_section_name_}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment