mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Modified plugins/Makefile.am to add -no-undefined as required on cygwin.
This commit is contained in:
parent
1135b5af22
commit
b590216005
@ -1476,6 +1476,7 @@ AC_MSG_RESULT([$BINFILE_NAME $FC $CXX])
|
||||
# Bugfix for Cygwin.
|
||||
##
|
||||
AC_MSG_CHECKING([if libtool needs -no-undefined flag to build shared libraries])
|
||||
NOUNDEFINED=""
|
||||
case "`uname`" in
|
||||
CYGWIN*|MINGW*|AIX*)
|
||||
## Add in the -no-undefined flag to LDFLAGS for libtool.
|
||||
|
@ -5,7 +5,7 @@
|
||||
include $(top_srcdir)/lib_flags.am
|
||||
|
||||
AM_LDFLAGS += -module -avoid-version -shared -export-dynamic \
|
||||
-rpath ${abs_builddir}
|
||||
-rpath ${abs_builddir} ${NOUNDEFINED}
|
||||
|
||||
BZIP2HDRS = bzlib.h bzlib_private.h
|
||||
BZIP2SRC = blocksort.c huffman.c crctable.c randtable.c compress.c decompress.c bzlib.c
|
||||
|
Loading…
Reference in New Issue
Block a user