提交 c3885255 编写于 作者: S stevenj

--with-cxx should not use -no-undefined, since it deppends on the C++ std libs...

--with-cxx should not use -no-undefined, since it deppends on the C++ std libs (which prevents us from building --with-cxx libs for Windows); thanks to Volker Lorrmann for the bug report

darcs-hash:20110609172614-c8de0-c4ece0c600b6cbe6155387daa7b92e4466bfbabc.gz
上级 879190ae
......@@ -23,7 +23,11 @@ cobyla/libcobyla.la newuoa/libnewuoa.la neldermead/libneldermead.la \
auglag/libauglag.la bobyqa/libbobyqa.la isres/libisres.la \
slsqp/libslsqp.la api/libapi.la util/libutil.la
if WITH_CXX
libnlopt@NLOPT_SUFFIX@_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@
else
libnlopt@NLOPT_SUFFIX@_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = nlopt.pc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册