about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libelf/dont-hardcode-ar.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libelf/dont-hardcode-ar.patch')
-rw-r--r--nixpkgs/pkgs/development/libraries/libelf/dont-hardcode-ar.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libelf/dont-hardcode-ar.patch b/nixpkgs/pkgs/development/libraries/libelf/dont-hardcode-ar.patch
new file mode 100644
index 000000000000..e282d9005dbb
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/libelf/dont-hardcode-ar.patch
@@ -0,0 +1,11 @@
+--- a/lib/Makefile.in
++++ b/lib/Makefile.in
+@@ -27,7 +27,7 @@ installdirs = $(libdir) $(includedir) $(includedir)/libelf
+ 
+ CC = @CC@
+ LD = @LD@
+-AR = ar
++AR ?= ar
+ MV = mv -f
+ RM = rm -f
+ LN_S = @LN_S@