diff options
| author | Jack Nagel | 2014-05-15 13:45:50 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-15 13:46:10 -0500 |
| commit | 1fd1c1723f164afcc3bf2b3a8786d970359001b0 (patch) | |
| tree | 649a5774716cef5c1097a8b289c8bde953e35b71 /Library/Formula/hidapi.rb | |
| parent | a17d4f59d3cd8275dbbd37b86ab127452d92ddac (diff) | |
| download | homebrew-1fd1c1723f164afcc3bf2b3a8786d970359001b0.tar.bz2 | |
Don't assume cflags is non-nil
Fixes #29284.
Diffstat (limited to 'Library/Formula/hidapi.rb')
| -rw-r--r-- | Library/Formula/hidapi.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/hidapi.rb b/Library/Formula/hidapi.rb index 21e257474..e97a739d9 100644 --- a/Library/Formula/hidapi.rb +++ b/Library/Formula/hidapi.rb @@ -25,7 +25,7 @@ class Hidapi < Formula } EOS - flags = `pkg-config --cflags --libs hidapi`.split + ENV.cflags.split + flags = `pkg-config --cflags --libs hidapi`.split + ENV.cflags.to_s.split system ENV.cc, "-o", "test", "test.c", *flags system './test' end |
