Print this page
OS-2559 illumos-extra should provide native node in proto.strap
@@ -61,10 +61,15 @@
LDSHARED_FLAGS.32 = $(LDSHARED_FLAGS) $(SYSLIBDIRS:%=-L$(DESTDIR)/%)
LDSHARED_FLAGS.64 = $(LDSHARED_FLAGS) $(SYSLIBDIRS:%=-L$(DESTDIR)/%/64)
LDSHARED_LIBS = -lc
+ifeq ($(STRAP),strap)
+ LDSHARED_FLAGS.32 += $(SYSLIBDIRS:%=-R$(DESTDIR)/%)
+ LDSHARED_FLAGS.64 += $(SYSLIBDIRS:%=-R$(DESTDIR)/%/64)
+endif
+
LDFLAGS += -L. -lz -lc
LDFLAGS.64 += -L. -lz -lc
OVERRIDES = \
LDSHARED="$(GCC) $(LDSHARED_FLAGS.32) $(LDSHARED_LIBS)" \