mirror of
https://github.com/nasa/trick.git
synced 2024-12-22 06:27:49 +00:00
convert_swig: don't skip EXT_LIB paths for %import
When converting #include to %import statements, we should only skip paths on TRICK_EXCLUDE and TRICK_SWIG_EXCLUDE, not TRICK_EXT_LIB_DIRS. Refs #392
This commit is contained in:
parent
a749118ce7
commit
3affc2080e
@ -257,7 +257,8 @@ sub process_file() {
|
||||
# Get the canonical path (resolve ., .., and symbolic links)
|
||||
$file_name = abs_path($file_name) ;
|
||||
|
||||
foreach my $i ( @exclude_paths, @swig_exclude_paths, @ext_lib_paths ) {
|
||||
# Skip excluded paths
|
||||
foreach my $i ( @exclude_paths, @swig_exclude_paths ) {
|
||||
if ( $file_name =~ /^\Q$i/ ) {
|
||||
next outer ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user