소스 검색

Try to automagically pick the correct dynamic linker.
-Erik

Eric Andersen 23 년 전
부모
커밋
6c7074c750
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      extra/gcc-uClibc/Makefile

+ 2 - 1
extra/gcc-uClibc/Makefile

@@ -4,7 +4,8 @@ include $(TOPDIR)Rules.mak
 
 # NOTE: This may need to be modified on each system.
 # If your default dynamic linker works, comment this out.
-DYNAMIC_LINKER = /lib/ld-linux.so.1
+#DYNAMIC_LINKER = /lib/ld-linux.so.1
+DYNAMIC_LINKER = $(shell ls /lib/ld*.so.[0-9] | sort | tail -n 1)
 
 UCLIBC_DIR = $(shell (cd ../.. ; /bin/pwd))
 GCC_BIN = $(CC)