Copy from home:jengelh:sparc/multipath-tools via accept of submit request 42351 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/42351 OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=14
24 lines
933 B
Diff
24 lines
933 B
Diff
|
|
Ouch, ouch, ouch!
|
|
Since when is the presence of a directory an indicator for whether
|
|
a 64- or 32-bit library is to be built. Or inspected, for that
|
|
matter.
|
|
|
|
---
|
|
libmultipath/Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: multipath-tools-0.4.8/libmultipath/Makefile
|
|
===================================================================
|
|
--- multipath-tools-0.4.8.orig/libmultipath/Makefile
|
|
+++ multipath-tools-0.4.8/libmultipath/Makefile
|
|
@@ -14,7 +14,7 @@ OBJS = memory.o parser.o vector.o devmap
|
|
log.o configure.o structs_vec.o sysfs.o prio.o checkers.o \
|
|
lock.o waiter.o
|
|
|
|
-LIBDM_API_FLUSH = $(shell if test -d /lib64 ; then objdump -T /lib64/libdevmapper.so* ; else objdump -T /lib/libdevmapper.so.* ; fi | grep -c dm_task_no_flush)
|
|
+LIBDM_API_FLUSH = $(shell objdump -T ${LIB}/libdevmapper.so* | grep -c dm_task_no_flush)
|
|
|
|
CFLAGS += -D_GNU_SOURCE
|
|
ifneq ($(strip $(LIBDM_API_FLUSH)),0)
|