diff options
| -rw-r--r-- | Library/Formula/exodriver.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/exodriver.rb b/Library/Formula/exodriver.rb index 30d2683c3..73358c879 100644 --- a/Library/Formula/exodriver.rb +++ b/Library/Formula/exodriver.rb @@ -10,6 +10,10 @@ class Exodriver <Formula depends_on 'libusb' + def options + [["--universal", "Build a universal binary."]] + end + def install cd 'liblabjackusb' mv 'Makefile.MacOSX', 'Makefile' @@ -17,6 +21,7 @@ class Exodriver <Formula inreplace 'Makefile' do |s| s.change_make_var! 'DESTINATION', lib s.change_make_var! 'HEADER_DESTINATION', include + ENV.universal_binary if ARGV.include? "--universal" end system "make" |
