Skip to content
Browse files

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

  • Loading branch information...
1 parent 093720c commit df8e4784a27833c3e3e49a2d1729114232ef8eea @wesolows wesolows committed
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 && \

0 comments on commit df8e478

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