Jelajahi Sumber

libelf: Try to always set needed .so vars on *BSD*.

Avoids the rm libelf error.
Bryan Drewery 2 tahun lalu
induk
melakukan
8c8ac72178
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      lib/libelf/aclocal.m4
  2. 1 1
      lib/libelf/configure

+ 1 - 1
lib/libelf/aclocal.m4

@@ -235,7 +235,7 @@ AC_DEFUN(mr_ENABLE_SHARED, [
     AC_REQUIRE([AC_PROG_CC])
     AC_PATH_PROG(LD, ld, ld)
     case "$host" in
-      *-linux*|*-gnu*)
+      *-linux*|*-gnu*|*bsd*|*BSD*)
 	if test "$GCC" = yes; then
 	  mr_TARGET_ELF
 	  if test "$mr_cv_target_elf" = yes; then

+ 1 - 1
lib/libelf/configure

@@ -3281,7 +3281,7 @@ else
 fi
 
     case "$host" in
-      *-linux*|*-gnu*)
+      *-linux*|*-gnu*|*bsd*|*BSD*)
 	if test "$GCC" = yes; then