Is there a standard way to tell brew (homebrew package manager for Mac OS) to build combined 32/64-bit binaries?

StackOverflow https://stackoverflow.com/questions/4640449

  •  09-10-2019
  •  | 
  •  

Question

Is there a standard way to tell brew to compile libraries with "fat" 32/64 combination libraries? I'd like to build libxml2 for combo 32/64 bit?

/usr/local/lib/libxml2.dylib: Mach-O 64-bit dynamically linked shared library x86_64

I can do it if I build the library "by hand", but I'm wondering if there's some convention for brew and brew formula to tell brew to do this.

Was it helpful?

Solution

There's no standard way. Some formulae have a --universal option for doing this (but not all of them).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top