Commit 6c95ea90 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files
parents 438a56ac e6ad264c
......@@ -72,7 +72,7 @@ pushd "$top/nghttp2"
;;
darwin*)
opts="${TARGET_OPTS:--arch $AUTOBUILD_CONFIGURE_ARCH ${LL_BUILD_RELEASE/-gdwarf-with-dsym/-gdwarf-2}}"
opts="${TARGET_OPTS:--arch $AUTOBUILD_CONFIGURE_ARCH $LL_BUILD_RELEASE}"
## # Release configure and build
## ./configure --enable-lib-only CFLAGS="$opts" CXXFLAGS="$opts"
......@@ -87,7 +87,18 @@ pushd "$top/nghttp2"
mkdir -p "$stage/lib/release"
mv "$top/nghttp2/lib"/libnghttp2*.dylib "$stage/lib/release/"
# SL-807: fix_dylib_id doesn't really handle symlinks, even though
# it's coded to try to do so. Chase the multiple levels of
# indirection to find the real dylib.
pushd "$stage/lib/release"
dylib="libnghttp2.dylib"
while [ -L "$dylib" ]
do dylib="$(readlink "$dylib")"
done
fix_dylib_id "$dylib"
popd
# make distclean
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment