User Tools

Site Tools


Sidebar



homebrew

homebrew

info
install a universal version of a program

1. edit the Formula of the program in /usr/local/Library/Formula

def install
  	ENV.universal_binary if ARGV.include? '--universal'
...

If you need to install the universal version of libnfc than first edit the libusb-compat.rb this way and install libusb-compat with:

brew install libusb-compat --universal

Then edit the formula libnfc.rb the same way and install.

brew install libnfc --universal
brew doctor

You also need to install command line tools for Xcode. Running “brew doctor” will give you more info.

homebrew.txt · Last modified: 2014/11/23 16:33 (external edit)