Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit df8e4784a27833c3e3e49a2d1729114232ef8eea 1 parent 093720c
Keith M Wesolowski wesolows authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  build.sh
3  build.sh
@@ -24,7 +24,8 @@ fi
24 24
25 25 if [[ ! -e ${PNGLIB}/libpng.a ]]; then
26 26 (cd ${PNGDIR} && \
27   - LDFLAGS="-m64 -L${DESTDIR}/usr/lib -L${DESTDIR}/lib" \
  27 + CC="${CC:-${DESTDIR}/usr/bin/gcc}" \
  28 + LDFLAGS="-m64 -L${DESTDIR}/usr/lib/amd64 -L${DESTDIR}/lib/amd64" \
28 29 CPPFLAGS="-isystem ${DESTDIR}/usr/include" \
29 30 CFLAGS="-m64" ./configure --disable-shared && \
30 31 make && \

0 comments on commit df8e478

Please sign in to comment.
Something went wrong with that request. Please try again.