mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zpwr: Use 'LDLIBS' for specifying the math library
Use 'LDLIBS' to specify the libraries that the tool is linked against. If it is specified as a dependency, the build system may attempt to build it and fail. Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Reviewed-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
7ce988ac59
commit
48743aa28b
@@ -10,8 +10,9 @@ include ../common.mak
|
||||
all: zpwr
|
||||
|
||||
OBJECTS = zpwr.o
|
||||
LDLIBS += -lm
|
||||
|
||||
zpwr: $(OBJECTS) $(rootdir)/libutil/libutil.a -lm
|
||||
zpwr: $(OBJECTS) $(rootdir)/libutil/libutil.a
|
||||
|
||||
install: all
|
||||
$(INSTALL) -d -m 755 $(DESTDIR)$(USRBINDIR)
|
||||
|
||||
Reference in New Issue
Block a user