Lines 39-44
pkg_setup() {
Link Here
|
39 |
fi |
39 |
fi |
40 |
} |
40 |
} |
41 |
|
41 |
|
|
|
42 |
src_prepare() { |
43 |
if ! just_headers; then |
44 |
cp -a "${S}" "${S}.headers" |
45 |
cd "${S}.headers/mingw-w64-headers" |
46 |
CHOST=${CTARGET} econf --enable-sdk |
47 |
emake install DESTDIR="${T}/headers" |
48 |
fi |
49 |
} |
50 |
|
42 |
src_configure() { |
51 |
src_configure() { |
43 |
local extra_conf=() |
52 |
local extra_conf=() |
44 |
|
53 |
|
Lines 61-66
src_configure() {
Link Here
|
61 |
--with-headers \ |
70 |
--with-headers \ |
62 |
--enable-sdk \ |
71 |
--enable-sdk \ |
63 |
$(use_enable idl) \ |
72 |
$(use_enable idl) \ |
|
|
73 |
CPPFLAGS="-I${T}/headers/usr/include" \ |
74 |
--with-sysroot="${T}/headers/usr/include" \ |
64 |
"${extra_conf[@]}" |
75 |
"${extra_conf[@]}" |
65 |
} |
76 |
} |
66 |
|
77 |
|