mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 18:24:02 +00:00
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:
parent
b77a0a696f
commit
0d08f07683
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user