OS-2559 illumos-extra should provide native node in proto.strap
@@ -44,10 +44,14 @@ # Node build stupidity, just stop. Rip all this out, write a simple makefile, # and copy it in at unpack time like we do for bzip2. # LDFLAGS += -lumem +ifeq ($(STRAP),strap) + LDFLAGS += $(SYSLIBDIRS:%=-R$(DESTDIR)/%) +endif + AUTOCONF_OPTS += \ --with-dtrace \ --openssl-use-sys \ --openssl-libpath=$(DESTDIR)/lib \ --openssl-includes=$(DESTDIR)/usr/include \