Mercurial > mxe-octave
comparison src/gcc.mk @ 695:b930f92b1f77
use the natively installed pkg-config instead of building a custom pkg-config
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 07 Feb 2010 10:00:58 +0100 |
parents | 584fdc59e1e3 |
children | e3e2690dee30 |
comparison
equal
deleted
inserted
replaced
694:b13dba692138 | 695:b930f92b1f77 |
---|---|
75 cd '$(1)/build/$(TARGET)/libgomp' && '$(1)/libgomp/configure' \ | 75 cd '$(1)/build/$(TARGET)/libgomp' && '$(1)/libgomp/configure' \ |
76 $(gcc_CONFIGURE_OPTIONS) \ | 76 $(gcc_CONFIGURE_OPTIONS) \ |
77 --host='$(TARGET)' \ | 77 --host='$(TARGET)' \ |
78 LIBS='-lws2_32' | 78 LIBS='-lws2_32' |
79 $(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '$(JOBS)' install | 79 $(MAKE) -C '$(1)/build/$(TARGET)/libgomp' -j '$(JOBS)' install |
80 | |
81 # create pkg-config script | |
82 (echo '#!/bin/sh'; \ | |
83 echo 'PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config "$$@"') \ | |
84 > '$(PREFIX)/bin/$(TARGET)-pkg-config' | |
85 chmod 0755 '$(PREFIX)/bin/$(TARGET)-pkg-config' | |
80 endef | 86 endef |