diff options
author | Greg Ames <gregames@apache.org> | 2001-12-03 18:00:04 +0000 |
---|---|---|
committer | Greg Ames <gregames@apache.org> | 2001-12-03 18:00:04 +0000 |
commit | 8d4ef324f4210ff2fb52148cf049a09735d80a52 (patch) | |
tree | 6a77fe2408804b8e3474b18d118cd162c7a52148 /build/binbuild.sh | |
parent | f7a40513a7523a1832a005ecccff9ae89c71e1ce (diff) | |
download | httpd-8d4ef324f4210ff2fb52148cf049a09735d80a52.tar.gz |
get binbuild working when apr, apr-util, and expat are built shared in
directories that are not well known to the loader.
How it works:
* libtool figures out the name of this system's library path environment
variable (i.e. LD_LIBRARY_PATH, LIBPATH, DYLD_LIBRARY_PATH) at apr
configure time (existing code)
* save this variable name in SHLIBPATH_VAR in APRVARS
* substitute this name when apachectl is created
* uncomment the lines containing this variable during binbuild
* install_bindist.sh updates the path to lib/ when the binary is
installed (existing code)
not done yet, but a good idea:
* create a file or directory containing all environment variable settings
for apachectl. Others env vars need to be tweaked, at least on AIX and
OS/390, so keeping them separate should reduce headaches long term.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92299 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/binbuild.sh')
-rwxr-xr-x | build/binbuild.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/binbuild.sh b/build/binbuild.sh index 1d8092eae5..8ec8a2a720 100755 --- a/build/binbuild.sh +++ b/build/binbuild.sh @@ -137,6 +137,7 @@ sed -e "s%$BUILD_DIR%$DEFAULT_DIR%" \ cp bindist/conf/httpd.conf bindist/conf/httpd-std.conf sed -e "s%$BUILD_DIR%$DEFAULT_DIR%" \ + -e "s%^#binbuild %%" \ bindist/bin/apachectl > bindist/bin/apachectl.tmp mv bindist/bin/apachectl.tmp bindist/bin/apachectl |