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. git-svn-id: svn://10.0.0.236/trunk@5587 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user