]> git.lyx.org Git - lyx.git/commitdiff
Do not try to build an empty boost lib
authorGeorg Baum <baum@lyx.org>
Sat, 11 Jun 2016 07:28:11 +0000 (09:28 +0200)
committerGeorg Baum <baum@lyx.org>
Sat, 11 Jun 2016 07:28:11 +0000 (09:28 +0200)
This should fix a build failure on OS X:
Making all in boost
  AR       liblyxboost.a
  ar: no archive members specified

3rdparty/Makefile.am
3rdparty/boost/Makefile.am

index c32db865b88a1af188d81e474ab6a47422a27866..02dbfef70b787c26b2501eed2804ba745541f23a 100644 (file)
@@ -3,8 +3,11 @@ include $(top_srcdir)/config/common.am
 DIST_SUBDIRS = boost hunspell libiconv zlib
 
 if USE_INCLUDED_BOOST
+if LYX_USE_STD_REGEX
+else
 BOOST = boost
 endif
+endif
 
 if USE_INCLUDED_HUNSPELL
 HUNSPELL = hunspell
index 54d34e3ecae80e0f3d8cb472f908dc2cfc017442..7bd1ff0113119eab434e056469842dc30902e04a 100644 (file)
@@ -12,10 +12,6 @@ EXTRA_DIST = boost \
 AM_CPPFLAGS += -DBOOST_USER_CONFIG="<config.h>" 
 AM_CPPFLAGS +=  $(BOOST_INCLUDES)
 
-if LYX_USE_STD_REGEX
-
-else
-
 # This version is more than three times faster than the one below
 
 if MONOLITHIC_BOOST
@@ -48,4 +44,3 @@ liblyxboost_a_SOURCES = \
 
 endif #MONOLITHIC_BOOST
 
-endif #LYX_USE_STD_REGEX