Skip to content

Instantly share code, notes, and snippets.

@samueldr
Created June 25, 2018 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samueldr/36ba7caafb3e416c55ff364a02c567cc to your computer and use it in GitHub Desktop.
Save samueldr/36ba7caafb3e416c55ff364a02c567cc to your computer and use it in GitHub Desktop.
diff --git a/ext/filemagic/extconf.rb b/ext/filemagic/extconf.rb
index 316e0ab979d243d03a967fda962a43b59a1bbdec..062e91d1023a3363962531fc8a54e7f0feb3bc26 100644
--- a/ext/filemagic/extconf.rb
+++ b/ext/filemagic/extconf.rb
@@ -1,15 +1,11 @@
require 'mkmf'
+# gcc should be able to handle this properly.
HEADER_DIRS = [
- '/opt/local/include', # MacPorts
- '/usr/local/include', # compiled from source and Homebrew
- '/usr/include', # system
]
+# gcc should be able to handle this properly.
LIB_DIRS = [
- '/opt/local/lib', # MacPorts
- '/usr/local/lib', # compiled from source and Homebrew
- '/usr/lib', # system
]
$CFLAGS << ' -Wall' if ENV['WALL']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment