diff mbox

libsemanage: Support overriding Makefile RANLIB

Message ID 1463083074-8550-1-git-send-email-roidelapluie@inuits.eu (mailing list archive)
State Not Applicable
Headers show

Commit Message

Julien Pivotto May 12, 2016, 7:57 p.m. UTC
---
 libsemanage/src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Smalley May 16, 2016, 8:46 p.m. UTC | #1
Applied.

On 05/12/2016 03:57 PM, Julien Pivotto wrote:
> ---
>  libsemanage/src/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libsemanage/src/Makefile b/libsemanage/src/Makefile
> index d1fcc0b..71eadd6 100644
> --- a/libsemanage/src/Makefile
> +++ b/libsemanage/src/Makefile
> @@ -61,7 +61,7 @@ SWIG_CFLAGS += -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno
>  		-Wno-unused-parameter
>  
>  override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE 
> -RANLIB=ranlib
> +RANLIB ?= ranlib
>  
>  SWIG = swig -Wall -python -o $(SWIGCOUT) -outdir ./
>  
>
diff mbox

Patch

diff --git a/libsemanage/src/Makefile b/libsemanage/src/Makefile
index d1fcc0b..71eadd6 100644
--- a/libsemanage/src/Makefile
+++ b/libsemanage/src/Makefile
@@ -61,7 +61,7 @@  SWIG_CFLAGS += -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno
 		-Wno-unused-parameter
 
 override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE 
-RANLIB=ranlib
+RANLIB ?= ranlib
 
 SWIG = swig -Wall -python -o $(SWIGCOUT) -outdir ./