https://github.com/faaxm/lipomerge
Combine libraries of different architectures in different directory trees into universal binaries
https://github.com/faaxm/lipomerge
Last synced: about 1 year ago
JSON representation
Combine libraries of different architectures in different directory trees into universal binaries
- Host: GitHub
- URL: https://github.com/faaxm/lipomerge
- Owner: faaxm
- License: gpl-3.0
- Created: 2023-08-07T17:30:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-08T15:35:49.000Z (about 1 year ago)
- Last Synced: 2025-04-15T14:54:48.078Z (about 1 year ago)
- Language: Python
- Size: 28.3 KB
- Stars: 17
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
# lipomerge
This package merges two directories containing static libraries for two different architectures into one directory with universal binaries. Files that don't end in ".a" or are mach-O binaries (Typically `.dylib` or executable) will just be copied over from the first directory.
## Installation
To install the package, use:
```
pip install lipomerge
```
## Usage
Run it like this:
```
python3 -m lipomerge
```
## Requirements
- macOS
- `lipo` must be installed on your system.
## License
This project is licensed under the GPL v3 license.
## Resources
* [A blog post on using lipo to build universal binaries](https://www.f-ax.de/dev/2021/01/15/build-fat-macos-library.html)
* [A blog post on building universal binaries with vcpkg](https://www.f-ax.de/dev/2022/11/09/how-to-use-vcpkg-with-universal-binaries-on-macos/)
## Contribute
Style is enforced by pre-commit:
```
pip install pre-commit
pre-commit install
```