Skip to content

Commit 0e6b11b

Browse files
author
Tim Moon
committed
2 parents 6aaa107 + 00c42dc commit 0e6b11b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exports/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ endif
5151
endif
5252
endif
5353

54-
ifeq ($(NOFORTRAN), $(filter $(NOFORTRAN),1 2))
54+
ifneq (,$(filter 1 2,$(NOFORTRAN)))
5555
FEXTRALIB =
5656
endif
5757

@@ -112,7 +112,7 @@ else
112112
$(OBJCONV) @objconv.def ../$(LIBNAME) ../$(LIBNAME).osx.renamed
113113
$(LIBDYNNAME) : ../$(LIBNAME).osx.renamed osx.def
114114
endif
115-
ifeq ($(NOFORTRAN), $(filter $(NOFORTRAN),1 2))
115+
ifneq (,$(filter 1 2,$(NOFORTRAN)))
116116
#only build without Fortran
117117
$(CC) $(CFLAGS) -all_load -headerpad_max_install_names -install_name "$(CURDIR)/../$(LIBDYNNAME)" -dynamiclib -o ../$(LIBDYNNAME) $< -Wl,-exported_symbols_list,osx.def $(FEXTRALIB)
118118
else

0 commit comments

Comments
 (0)