From 43fa36d52cc8ee1349dc822d45225d4b4788ed49 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Sat, 3 Oct 2015 16:34:21 +0000 Subject: [PATCH] Remove redundant COMPAT_32BIT guard on pkgconfig files. This is already handled by the LIBRARIES_ONLY mechanism protecting FILES. Sponsored by: EMC / Isilon Storage Division --- lib/libusb/Makefile | 4 ++-- lib/libz/Makefile | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/libusb/Makefile b/lib/libusb/Makefile index 25d886a5c454..be55aa65a6d8 100644 --- a/lib/libusb/Makefile +++ b/lib/libusb/Makefile @@ -35,10 +35,10 @@ SRCS+= libusb10_io.c .if defined(COMPAT_32BIT) CFLAGS+= -DCOMPAT_32BIT -.else +.endif + FILES= libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc FILESDIR= ${LIBDATADIR}/pkgconfig -.endif # # Cross platform support diff --git a/lib/libz/Makefile b/lib/libz/Makefile index aed4ee3828c6..7a80fcbab520 100644 --- a/lib/libz/Makefile +++ b/lib/libz/Makefile @@ -68,10 +68,8 @@ test: example minigzip (export LD_LIBRARY_PATH=. ; \ echo hello world | ./minigzip | ./minigzip -d ) -.ifndef COMPAT_32BIT FILES= zlib.pc FILESDIR= ${LIBDATADIR}/pkgconfig -.endif .include