Print this page
OS-2559 illumos-extra should provide native node in proto.strap

@@ -81,10 +81,15 @@
         -Werror \
         -DPK11_LIB_LOCATION=\\"/usr/lib/64/libpkcs11.so.1\\"
 
 LIBS += -lsocket -lnsl
 
+ifeq ($(STRAP),strap)
+        LDFLAGS +=      $(SYSLIBDIRS:%=-R$(DESTDIR)/%)
+        LDFLAGS.64 +=   $(SYSLIBDIRS:%=-R$(DESTDIR)/%/64)
+endif
+
 PATCHES =       Patches/*
 
 AUTOCONF_ENV =
 AUTOCONF_OPTS += \
         --openssldir=/etc/openssl \