Mercurial > mxe-octave
diff src/gcc.mk @ 1504:dfa937baa17b
improved pkg-config wrapper and its documentation
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 13 Dec 2010 14:41:32 +0100 |
parents | 5d9e7369c6ed |
children | 2134321e96f1 |
line wrap: on
line diff
--- a/src/gcc.mk Mon Dec 13 03:18:09 2010 +1100 +++ b/src/gcc.mk Mon Dec 13 14:41:32 2010 +0100 @@ -58,7 +58,7 @@ # create pkg-config script (echo '#!/bin/sh'; \ - echo 'PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config --static "$$@"') \ + echo 'PKG_CONFIG_PATH="$$PKG_CONFIG_PATH_$(subst -,_,$(TARGET))" PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config --static "$$@"') \ > '$(PREFIX)/bin/$(TARGET)-pkg-config' chmod 0755 '$(PREFIX)/bin/$(TARGET)-pkg-config' endef