Greetings Farid

I have concerns about the change to makefile.rules. Including $(LIBDIR) in the PATH variable on all platforms creates the potential for mishaps on other platforms, though the probability of such mishaps is small.

Could you try setting the RPATH makefile variable to '-Wl,-rpath,' and see if that accomplishes the same result? The logic chain used to set this variable for the GCC compiler can be found around lines 135 through 161 of the gcc.config file.

--Andrew Black

Farid Zaripov wrote:
Index: etc/config/makefile.rules
===================================================================
--- etc/config/makefile.rules   (revision 517637)
+++ etc/config/makefile.rules   (working copy)
@@ -110,7 +110,7 @@
 # subtests (the little tests the main test consists of)
 run runall run_all: $(BINDIR)/exec
        @(LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(LIBDIR);
\
-        PATH=$$PATH:.;
\
+        PATH=$$PATH:$(LIBDIR):.;
\
         TOPDIR=$(TOPDIR);
\
         export LD_LIBRARY_PATH PATH TOPDIR;
\
         ./run $(RUNFLAGS) $(RUNTARGET);
\

Reply via email to