Przeglądaj źródła

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 lat temu
rodzic
commit
127e6e3b31
1 zmienionych plików z 1 dodań i 1 usunięć
  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 */