Skip to content

Commit

Permalink
fix readline shared lib on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Jun 13, 2012
1 parent fd5bfac commit aff7e8e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions readline/shell/functions
@@ -0,0 +1,12 @@
#!/bin/sh

readline_preconfigure()
{
if os is darwin && os arch type is x86_64
then
__sm.package.configure.flag --build x86_64-apple-darwin11
# dynamic patch, solves fixing different versions
file replace regexp '-arch_only `/usr/bin/arch`' with '' support/shobj-conf
file replace regexp 'darwin\[.*)' with 'darwin*' support/shobj-conf
fi
}

0 comments on commit aff7e8e

Please sign in to comment.