Replace (un-hardcode) /usr/lib/libm.a with -lm.

HP-UX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.
This is a good change for all platforms.  ITs dumb to hardcode the library
like that.  If for some reason a particular paltform requires a hard coded
path to libm, then it should be special cased.
This commit is contained in:
ramiro 1998-07-15 10:30:51 +00:00
parent b77a0a696f
commit 0d08f07683

View File

@ -138,7 +138,6 @@ MKICONS_LIB = \
$(JAVA_JMC) \
$(DIST)/lib/libpng.a \
$(DIST)/lib/libzlib.a \
/usr/lib/libm.a \
$(DIST)/lib/libnspr.a \
$(DIST)/lib/libjpeg.a \
$(DIST)/lib/libutil.a \
@ -149,7 +148,6 @@ MKICONS_LIB = \
$(JAVA_JMC) \
$(DIST)/lib/libpng.a \
$(DIST)/lib/libzlib.a \
/usr/lib/libm.a \
$(DIST)/lib/libnspr21.a \
$(DIST)/lib/libjpeg.a \
$(DIST)/lib/libutil.a \
@ -163,7 +161,7 @@ GARBAGE += $(MKICONS_EXE) \
$(ICONLIST) \
$(ICONANIMLIST)
MKICONS_EXTRA = $(OS_LIBS)
MKICONS_EXTRA = $(OS_LIBS) -lm
#######################################################################
# Rules to build mkicons program and then icondata.c