|
@@ -260,8 +260,8 @@ $(obj)/.tmp_qtcheck:
|
|
|
else \
|
|
|
cflags="\$$(shell pkg-config QtCore QtGui Qt3Support --cflags)"; \
|
|
|
libs="\$$(shell pkg-config QtCore QtGui Qt3Support --libs)"; \
|
|
|
- binpath="\$$(shell pkg-config QtCore --variable=prefix)"; \
|
|
|
- moc="$$binpath/bin/moc"; \
|
|
|
+ moc="\$$(shell pkg-config QtCore --variable=moc_location)"; \
|
|
|
+ [ -n "$$moc" ] || moc="\$$(shell pkg-config QtCore --variable=prefix)/bin/moc"; \
|
|
|
fi; \
|
|
|
echo "KC_QT_CFLAGS=$$cflags" > $@; \
|
|
|
echo "KC_QT_LIBS=$$libs" >> $@; \
|