mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-03 08:01:25 +08:00
another change to try and get DLLs working for fortran on cygwin
This commit is contained in:
parent
28a593b34d
commit
cd2f6024fc
@ -77,15 +77,16 @@ if BUILD_SEPARATE_FORTRAN
|
||||
lib_LTLIBRARIES = libnetcdff.la
|
||||
libnetcdff_la_LDFLAGS = $(AM_LDFLAGS) -version-number 5:1:0
|
||||
# If we are building the dll (under MinGW) then set the correct flags.
|
||||
else
|
||||
noinst_LTLIBRARIES = libnetcdff.la
|
||||
endif # BUILD_SEPARATE_FORTRAN
|
||||
|
||||
# Turn on some special flags for building DLL.
|
||||
if BUILD_DLL
|
||||
AM_CPPFLAGS += -DDLL_EXPORT
|
||||
libnetcdff_la_LDFLAGS += -no-undefined -Wl,--output-def,netcdffdll.def
|
||||
endif # BUILD_DLL
|
||||
|
||||
else
|
||||
noinst_LTLIBRARIES = libnetcdff.la
|
||||
endif # BUILD_SEPARATE_FORTRAN
|
||||
|
||||
# If F90 is built, include it's convenience library.
|
||||
if BUILD_F90
|
||||
libnetcdff_la_LIBADD += ${top_builddir}/f90/libnetcdff90.la
|
||||
|
Loading…
Reference in New Issue
Block a user