facebook / watchman

Watches files and records, or triggers actions, when they change.
https://facebook.github.io/watchman/
MIT License
12.57k stars 986 forks source link

Fix OpenSSL building on Apple Silicon M1 (ARM) #1032

Closed mindaugasrukas closed 2 years ago

mindaugasrukas commented 2 years ago

Before the change:

% uname -m -s
Darwin arm64

% ./autogen.sh
...
ld: warning: ignoring file /private/var/.../installed/openssl-OovnrH2WrHG18y7xi0irAegZLOlNsDyeOGb8BBEcoGw/lib/libssl.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /private/var/.../installed/openssl-OovnrH2WrHG18y7xi0irAegZLOlNsDyeOGb8BBEcoGw/lib/libcrypto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
...

After the change build succeeds.

facebook-github-bot commented 2 years ago

@genevievehelsel has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.