void-packages/srcpkgs/nss/patches/respect-ldflags.patch

12 lines
387 B
Diff
Raw Normal View History

--- nss-3.67.orig/nss/coreconf/rules.mk
+++ nss-3.67/nss/coreconf/rules.mk
@@ -223,7 +223,7 @@ ifdef MT
endif # MSVC with manifest tool
endif
else
- $(MKSHLIB) -o $@ $(OBJS) $(SUB_SHLOBJS) $(LD_LIBS) $(EXTRA_LIBS) $(EXTRA_SHARED_LIBS) $(OS_LIBS)
+ $(MKSHLIB) $(LDFLAGS) -o $@ $(OBJS) $(SUB_SHLOBJS) $(LD_LIBS) $(EXTRA_LIBS) $(EXTRA_SHARED_LIBS) $(OS_LIBS)
chmod +x $@
endif
endif