Skip to content

Commit 6fef2c4

Browse files
committed
Remove ldconfig completely
Shouldn't be necessary. Thanks to Andreas Enge for helping me with this.
1 parent f1ec31e commit 6fef2c4

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

Makefile.in

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ CC:=@CC@
4848
CXX:=@CC@
4949
DLLTOOL:=@DLLTOOL@
5050
LD:=@LD@
51-
LDCONFIG_N:=@LDCONFIG_N@
5251
LN_S:=@LN_S@
5352
M4:=@M4@
5453
MKDIR_P:=@MKDIR_P@
@@ -429,11 +428,6 @@ MERGED_LOBJS:=$(foreach dir, $(DIRS),$(BUILD_DIR)/$(dir)_merged.lo)
429428
$(FLINT_DIR)/$(FLINT_LIB_FULL): $(MERGED_LOBJS)
430429
@echo "Building $(FLINT_LIB_FULL)"
431430
@$(CC) $(CFLAGS) -shared $(EXTRA_SHARED_FLAGS) $(MERGED_LOBJS) -o $(FLINT_LIB_FULL) $(LDFLAGS) $(LIBS)
432-
ifneq ($(FLINT_SOLIB), 0)
433-
ifneq ($(LDCONFIG_N),)
434-
@$(LDCONFIG_N) ./
435-
endif
436-
endif
437431
@$(RM_F) $(FLINT_LIB)
438432
@$(RM_F) $(FLINT_LIB_MAJOR)
439433
@$(LN_S) $(FLINT_LIB_FULL) $(FLINT_LIB)

configure.ac

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -623,27 +623,6 @@ case "$host_os" in
623623
;;
624624
esac
625625

626-
AC_MSG_CHECKING(for ldconfig)
627-
LDCONFIG_N=""
628-
case "$build_os" in
629-
linux*android*)
630-
;;
631-
linux* | k*bsd*-gnu | gnu*)
632-
LDCONFIG_N="/sbin/ldconfig -n"
633-
;;
634-
netbsd* | openbsd*)
635-
dnl LDCONFIG_N="/sbin/ldconfig -m"
636-
;;
637-
esac
638-
if test "x$LDCONFIG_N" = "x";
639-
then
640-
ldconfig_res="skipped"
641-
else
642-
ldconfig_res="$LDCONFIG_N"
643-
fi
644-
AC_MSG_RESULT($ldconfig_res)
645-
AC_SUBST(LDCONFIG_N)
646-
647626
dnl FIXME: Improve this check to include more processors.
648627
AC_MSG_CHECKING([if memory is strongly-ordered])
649628
case "$host" in

0 commit comments

Comments
 (0)