[-]
[+]
|
Changed |
nagios-plugins-printer.spec
|
|
[-]
[+]
|
Added |
nagios-plugins-printer-librarypath.patch
^
|
@@ -0,0 +1,11 @@
+--- plugins/Makefile.orig 2019-10-04 09:47:54.363686386 +0200
++++ plugins/Makefile 2019-10-04 09:48:16.703686067 +0200
+@@ -1,7 +1,7 @@
+ all: libs
+ if gcc -Wall -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I../lib -I../intl -I/include -g -O2 -MT check_printer.o -MD -MP -MF ".deps/check_printer.Tpo" -c -o check_printer.o check_printer.c; \
+ then mv -f ".deps/check_printer.Tpo" ".deps/check_printer.Po"; else rm -f ".deps/check_printer.Tpo"; exit 1; fi
+- gcc -g -O2 -L. -o check_printer check_printer.o netutils.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv popen.o -I/usr/include
++ gcc -g -O2 -L. -L/usr/lib64 -L/usr/lib -o check_printer check_printer.o netutils.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv popen.o -I/usr/include
+
+ libs:
+ if gcc -Wall -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I../lib -I../intl -I/include -g -O2 -MT netutils.o -MD -MP -MF ".deps/netutils.Tpo" -c -o netutils.o netutils.c; \
|