Skip to content

Commit

Permalink
Merge pull request #103 from orbea/undefined
Browse files Browse the repository at this point in the history
Fix the build with -no-undefined.
  • Loading branch information
WardF authored May 10, 2021
2 parents 162d78a + a6dd5eb commit 45fbd49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions cxx4/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@

# This file builds the new C++-4 interface.

# Point pre-preprocessor to netcdf-4 directory (libsrc4).
LDADD = $(top_builddir)/cxx4/libnetcdf_c++4.la -lnetcdf

# This is our output library.
lib_LTLIBRARIES = libnetcdf_c++4.la

# For rules updating the version info, see
# http://www.gnu.org/s/libtool/manual/html_node/Updating-version-info.html
libnetcdf_c__4_la_LDFLAGS = -version-info 2:0:1 -no-undefined
libnetcdf_c__4_la_LIBADD = -lnetcdf

# These headers will be installed in the users header directory.
include_HEADERS = netcdf ncAtt.h ncCheck.h ncDim.h ncException.h \
Expand Down
1 change: 1 addition & 0 deletions plugins/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ lib_LTLIBRARIES = libh5bzip2.la

libh5bzip2_la_SOURCES = ${HDF5PLUGINSRC}
libh5bzip2_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined
libh5bzip2_la_LIBADD = -lhdf5

libmisc_la_SOURCES = H5Zmisc.c H5Zutil.c h5misc.h
libmisc_la_LDFLAGS = -module -avoid-version -shared -export-dynamic -no-undefined -rpath ${abs_builddir}
Expand Down

0 comments on commit 45fbd49

Please sign in to comment.