diff src/dcmtk.mk @ 3012:100e618349f7

Improve handling of prefix directories by defining HOST_PREFIX and BUILD_TOOLS_PREFIX variables in top-level Makefile.
author John W. Eaton <jwe@octave.org>
date Sun, 02 Jun 2013 10:31:04 -0400
parents 4d0f3a9da57e
children bcc26ffe9a0f
line wrap: on
line diff
--- a/src/dcmtk.mk	Sat Jun 01 20:52:09 2013 -0400
+++ b/src/dcmtk.mk	Sun Jun 02 10:31:04 2013 -0400
@@ -19,12 +19,12 @@
 define $(PKG)_BUILD
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
-        --prefix='$(PREFIX)/$(TARGET)' \
+        --prefix='$(HOST_PREFIX)' \
         --with-openssl \
         --with-libtiff \
         --with-libpng \
         --with-libxml \
-        --with-libxmlinc='$(PREFIX)/$(TARGET)' \
+        --with-libxmlinc='$(HOST_PREFIX)' \
         --with-zlib \
         --without-libwrap \
         CXX='$(TARGET)-g++' \