summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-06-26 06:37:53 +0200
committerAllan McRae <allan@archlinux.org>2013-07-22 05:27:47 +0200
commit28cb22e3c20676c42a08593b5553ee896b53e030 (patch)
tree5b8234351bb357f90dbb13b865bdaaf92dd9d37c /autogen.sh
parent1438377401431af3872e2a0c323fb804802242ad (diff)
downloadpacman-28cb22e3c20676c42a08593b5553ee896b53e030.tar.gz
pacman-28cb22e3c20676c42a08593b5553ee896b53e030.tar.xz
Patch ltmain on autoreconf
We used to carry a patched version of ltmain in our repos to fix libtools issues with -Wl,-as-needed. Now that ltmain is "generated" by autoreconf, we manually patch it afterwards. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index c31f34fb..d11badcb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,3 +1,4 @@
#!/bin/sh -xu
-autoreconf -i \ No newline at end of file
+autoreconf -i
+(cd build-aux && patch -Np0 -i ltmain-asneeded.patch)