Procházet zdrojové kódy

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 před 24 roky
rodič
revize
127e6e3b31
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 */