Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

OS-1335 kvm-cmd libpng build needs to learn to be 64-bit

  • Loading branch information...
commit df8e4784a27833c3e3e49a2d1729114232ef8eea 1 parent 093720c
@wesolows wesolows authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  build.sh
View
3  build.sh
@@ -24,7 +24,8 @@ fi
if [[ ! -e ${PNGLIB}/libpng.a ]]; then
(cd ${PNGDIR} && \
- LDFLAGS="-m64 -L${DESTDIR}/usr/lib -L${DESTDIR}/lib" \
+ CC="${CC:-${DESTDIR}/usr/bin/gcc}" \
+ LDFLAGS="-m64 -L${DESTDIR}/usr/lib/amd64 -L${DESTDIR}/lib/amd64" \
CPPFLAGS="-isystem ${DESTDIR}/usr/include" \
CFLAGS="-m64" ./configure --disable-shared && \
make && \
Please sign in to comment.
Something went wrong with that request. Please try again.