mirror of
https://github.com/vale981/arb
synced 2025-03-04 17:01:40 -05:00
Put LDFLAGS and LIBS2 in same order as in Flint.
It seems the order of LDFLAGS and LIBS2 may be critical.
This commit is contained in:
parent
d6e40e461b
commit
9b407322aa
1 changed files with 2 additions and 2 deletions
|
@ -92,10 +92,10 @@ $(ARB_LIB): $(LOBJS) $(LIB_SOURCES) $(EXT_SOURCES) $(HEADERS) $(EXT_HEADERS) | b
|
|||
$(AT)$(foreach dir, $(BUILD_DIRS), mkdir -p build/$(dir); BUILD_DIR=../build/$(dir); export BUILD_DIR; MOD_DIR=$(dir); export MOD_DIR; $(MAKE) -f ../Makefile.subdirs -C $(dir) shared || exit $$?;)
|
||||
$(AT)if [ "$(WANT_NTL)" -eq "1" ]; then \
|
||||
$(MAKE) build/interfaces/NTL-interface.lo; \
|
||||
$(CXX) $(ABI_FLAG) -shared $(EXTRA_SHARED_FLAGS) build/interfaces/NTL-interface.lo $(LOBJS) $(MOD_LOBJS) $(EXT_OBJS) $(LIBS2) $(LDFLAGS) -o $(ARB_LIB); \
|
||||
$(CXX) $(ABI_FLAG) -shared $(EXTRA_SHARED_FLAGS) build/interfaces/NTL-interface.lo $(LOBJS) $(MOD_LOBJS) $(EXT_OBJS) $(LDFLAGS) $(LIBS2) -o $(ARB_LIB); \
|
||||
fi
|
||||
$(AT)if [ "$(WANT_NTL)" -ne "1" ]; then \
|
||||
$(CC) $(ABI_FLAG) -shared $(EXTRA_SHARED_FLAGS) $(LOBJS) $(MOD_LOBJS) $(EXT_OBJS) $(LIBS2) $(LDFLAGS) -o $(ARB_LIB); \
|
||||
$(CC) $(ABI_FLAG) -shared $(EXTRA_SHARED_FLAGS) $(LOBJS) $(MOD_LOBJS) $(EXT_OBJS) $(LDFLAGS) $(LIBS2) -o $(ARB_LIB); \
|
||||
fi
|
||||
-$(AT)if [ "$(ARB_SOLIB)" -eq "1" ]; then \
|
||||
$(LDCONFIG) -n "$(CURDIR)"; \
|
||||
|
|
Loading…
Add table
Reference in a new issue