Add support for Mac's removal of /usr/include #810

Add line to ignore all files from /usr/local/include explicitly while
creating makefile for swig processing.
This commit is contained in:
Alex Lin 2019-07-10 08:27:13 -05:00
parent de572d714b
commit f117839d2f

View File

@ -60,6 +60,7 @@ sub read_files_to_process() {
# skip system headers that are missed by the compiler -MM flag
next if ( $word =~ /^\/usr\/include/ ) ;
next if ( $word =~ /^\/usr\/local\/include/ ) ;
# skip Trick headers
my $trick_home = $ENV{'TRICK_HOME'} ;