Enable specification of extra linker options and libraries from command line.
authorsrinivas%netscape.com
Sat, 31 Jul 1999 17:19:19 +0000
changeset 737 9744a8f4b09faa038a298e9507b9934fadbf6e58
parent 736 659720e2835ed8918283db0d2a46750ff9c88c24
child 744 d44116bf163a30894031e3a220018c1f8479a748
push idunknown
push userunknown
push dateunknown
Enable specification of extra linker options and libraries from command line.
pr/tests/Makefile
--- a/pr/tests/Makefile
+++ b/pr/tests/Makefile
@@ -460,17 +460,17 @@ ifeq ($(OS_TARGET),WIN16)
 	echo $(LIBPR),	     >>w16link
 	echo $(LIBPLC),		 >>w16link
 	echo winsock.lib     >>w16link
 	wlink @w16link.
 else
 ifeq ($(OS_TARGET),OS2)
 	$(LINK) $(EXEFLAGS) $(LDOPTS) $< $(LIBPLC) $(LIBPR) $(OS_LIBS) $(EXTRA_LIBS)
 else
-	link $(LDOPTS) $< $(LIBPLC) $(LIBPR) wsock32.lib -out:$@
+	link $(LDOPTS) $(EXTRA_LDOPTS) $< $(LIBPLC) $(LIBPR) $(EXTRA_LIBS) wsock32.lib -out:$@
 endif
 endif
 else
 	$(PURE) $(CC) $(XCFLAGS) $< $(LDOPTS) $(LIBPLC) $(LIBPR) $(EXTRA_LIBS) -o $@
 endif
 
 endif