"JDK-8025715: Split CompileNativeLibraries.gmk", caused (almost) all
libraries on macosx to be linked incorrectly. I propose we fix this by
removing an ugly hack for libJObjC.dylib, which was only put there to
make the new and old build be as similar as possible.
The result of this fix is that libObjC.dylib changes it's link line from:
-Xlinker -install_name -Xlinker /usr/local/lib/libJObjC.dylib
to:
-Xlinker -install_name -Xlinker @rpath/libJObjC.dylib
And the rest of the libraries get restored to their original link lines,
which look like the second line above.
Bug: https://bugs.openjdk.java.net/browse/JDK-8026966
Webrev: http://cr.openjdk.java.net/~erikj/8026966/webrev.jdk.01/
/Erik