From a708c9a97c2d061b2b863f979e7455c16cf43208 Mon Sep 17 00:00:00 2001 From: Fredrik Johansson Date: Thu, 21 Jan 2016 11:15:28 +0100 Subject: [PATCH] create link to libarb.major to fix make check on some systems (patch by Andreas Enge) --- Makefile.in | 1 + configure | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.in b/Makefile.in index c48fe264..c6868571 100644 --- a/Makefile.in +++ b/Makefile.in @@ -101,6 +101,7 @@ $(ARB_LIB): $(LOBJS) $(LIB_SOURCES) $(EXT_SOURCES) $(HEADERS) $(EXT_HEADERS) | b $(LDCONFIG) -n "$(CURDIR)"; \ fi ln -sf "$(ARB_LIB)" "$(ARB_LIBNAME)"; \ + ln -sf "$(ARB_LIB)" "$(ARB_LIBNAME).$(ARB_MAJOR)"; \ libarb.a: $(OBJS) $(LIB_SOURCES) $(EXT_SOURCES) $(HEADERS) $(EXT_HEADERS) | build build/interfaces $(AT)$(foreach ext, $(EXTENSIONS), $(foreach dir, $(patsubst $(ext)/%.h, %, $(wildcard $(ext)/*.h)), mkdir -p build/$(dir); BUILD_DIR=$(CURDIR)/build/$(dir); export BUILD_DIR; MOD_DIR=$(dir); export MOD_DIR; $(MAKE) -f $(CURDIR)/Makefile.subdirs -C $(ext)/$(dir) static || exit $$?;)) diff --git a/configure b/configure index c5c8b07c..e48e8393 100755 --- a/configure +++ b/configure @@ -647,6 +647,7 @@ echo "ARB_STATIC=$STATIC" >> Makefile echo "ARB_SHARED=$SHARED" >> Makefile echo "ARB_LIB=$ARB_LIB" >> Makefile echo "ARB_LIBNAME=$ARB_LIBNAME" >> Makefile +echo "ARB_MAJOR=$ARB_MAJOR" >> Makefile echo "ARB_SOLIB=$ARB_SOLIB" >> Makefile echo "EXEEXT=$EXEEXT" >> Makefile echo "PREFIX=$PREFIX" >> Makefile