diff options
author | Keith M Wesolowski <wesolows@foobazco.org> | 2012-06-22 20:45:32 +0000 |
---|---|---|
committer | Keith M Wesolowski <wesolows@foobazco.org> | 2012-06-22 20:45:32 +0000 |
commit | df8e4784a27833c3e3e49a2d1729114232ef8eea (patch) | |
tree | 61b60816993e20c92cb18e0711cf01f14d7e2e66 | |
parent | 093720c53f2c96581989709434d640bc174aa5bb (diff) | |
download | illumos-kvm-cmd-df8e4784a27833c3e3e49a2d1729114232ef8eea.tar.gz |
-rwxr-xr-x | build.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 && \ |