On 13/06/2008, at 1:46 PM, James Peach wrote:
Hi Nathan,
I had another go at building kmchart, and made some progress by doing:
./configure QMAKE="/opt/local/bin/qmake -spec macx-xcode"
However, I end up with a link error because QtAssistantClient_debug.
It doesn't seem to be installed with macports. Do you know whether
there's a way to turn off the debug build?
FWIW, even when I switch to the Release configuration, the generated
xcode project still trues to link to _debug libraries. I switched to
the release configuration like this:
--- a/src/include/buildrules
+++ b/src/include/buildrules
@@ -23,7 +23,7 @@ endif
#
ifeq ($(PKG_PLATFORM),darwin)
-PLATFORM_BUILD = xcodebuild -configuration Debug
+PLATFORM_BUILD = xcodebuild -configuration Release
BINARY = build/Debug/$(COMMAND).app/Contents/MacOS/$(COMMAND)
LNMAKE = test ! -f $(BINARY) -o -L $(COMMAND) || $(LN_S) $(BINARY) $
(COMMAND)
WINDOW = mac
|