Browse Source

Revert behavior of wrapper to not use dynamic linker in the build dir, so
those who want to should now be able to compile against uClibc without
installing it (using the "build" behavior).

Manuel Novoa III 24 năm trước cách đây
mục cha
commit
127e6e3b31
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      extra/gcc-uClibc/gcc-uClibc.c

+ 1 - 1
extra/gcc-uClibc/gcc-uClibc.c

@@ -176,7 +176,7 @@ int main(int argc, char **argv)
 	if (linking && source_count) {
 		if (!use_static_linking) {
 			if (DYNAMIC_LINKER[0]) { /* not empty string */
-#if 0
+#if 1
 				gcc_argv[i++] = "-Wl,--dynamic-linker,"DYNAMIC_LINKER;
 				if (strstr(DYNAMIC_LINKER,"uclibc") != 0) {	/* custom linker */
 					use_rpath = 0; /* so -rpath not needed for normal case */