Print this page
native tools must reliably use a native adjunct, even if that's inconvenient
While it is perhaps convenient for native tools to use updated versions
of certain things like libxml it is imperative that those versions are
_also_ build for the build machine.  Thus they need to be in the native
adjunct (even if that native adjunct is thus not /).
Fix the native adjunct to be rooted similarly to the adjunct proto (that
is, at /), and fix SMF to use it correctly

@@ -71,11 +71,11 @@
         -L$(ROOTONBLDLIBMACH) \
         '-R$$ORIGIN/../../lib/$(MACH)' \
         -ldwarf
 DWARFCPPFLAGS   = -I../../dwarf/common
 
-LDFLAGS         += -L$(NATIVE_ADJUNCT)/lib
+LDFLAGS         += -L$(NATIVE_ADJUNCT)/usr/lib
 LDLIBS          += -lz -lelf
 CPPFLAGS        += -D_REENTRANT
 CFLAGS          += $(CTF_FLAGS)
 LINTFLAGS       += -mnux