Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add parameter to make a multi-arch macOS build #606

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

saghul
Copy link
Owner

@saghul saghul commented Jul 15, 2024

$ make BUILD_MACOS_MULTIARCH=1
$ otool -L build/tjs
build/tjs (architecture x86_64):
	/usr/lib/libffi.dylib (compatibility version 1.0.0, current version 32.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)
	/usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 9.0.0)
build/tjs (architecture arm64):
	/usr/lib/libffi.dylib (compatibility version 1.0.0, current version 32.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)
	/usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 9.0.0)

```
$ make BUILD_MACOS_MULTIARCH=1
$ otool -L build/tjs
build/tjs (architecture x86_64):
	/usr/lib/libffi.dylib (compatibility version 1.0.0, current version 32.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)
	/usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 9.0.0)
build/tjs (architecture arm64):
	/usr/lib/libffi.dylib (compatibility version 1.0.0, current version 32.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)
	/usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 9.0.0)
```
@saghul saghul mentioned this pull request Jul 15, 2024
@saghul saghul merged commit 182c44c into master Jul 15, 2024
15 checks passed
@saghul saghul deleted the macos-multiarch branch July 15, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant