BewareMyPower commented on PR #38:
URL: https://github.com/apache/pulsar-client-cpp/pull/38#issuecomment-1275715959

   @merlimat Could you take a look? Since I don't have a ARM based mac now, I 
cannot verify the universal build. But I believe it could be simply done based 
on this patch.
   
   Just change
   
   ```bash
   export CFLAGS="-fPIC -arch x86_64 -mmacosx-version-min=10.15"
   ```
   
   to
   
   ```bash
   export CFLAGS="-fPIC -arch x86_64 -arch arm64 -mmacosx-version-min=10.15"
   ```
   
   for dependencies other than OpenSSL. For OpenSSL, build another library with 
`darwin64-arm64-cc` and use `lipo` to create a universal binary.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to