diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-02-07 09:00:58 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-02-07 09:00:58 (GMT) |
commit | fab6f7f5539365614dc222fb894a8af6beb91e51 (patch) | |
tree | c3da4a789679472f80804735bcdb58a23a0baf6a /src/gcc.mk | |
parent | 17c2153bc550a54a1a0e70eb1fed8115f21b850e (diff) | |
download | mxe-fab6f7f5539365614dc222fb894a8af6beb91e51.zip mxe-fab6f7f5539365614dc222fb894a8af6beb91e51.tar.gz mxe-fab6f7f5539365614dc222fb894a8af6beb91e51.tar.bz2 |
use the natively installed pkg-config instead of building a custom pkg-config
Diffstat (limited to 'src/gcc.mk')
-rw-r--r-- | src/gcc.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -77,4 +77,10 @@ define $(PKG)_BUILD --host='$(TARGET)' \ LIBS='-lws2_32' $(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '$(JOBS)' install + + # create pkg-config script + (echo '#!/bin/sh'; \ + echo 'PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config "$$@"') \ + > '$(PREFIX)/bin/$(TARGET)-pkg-config' + chmod 0755 '$(PREFIX)/bin/$(TARGET)-pkg-config' endef |