Explorar el Código

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 hace 24 años
padre
commit
127e6e3b31
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 */