-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Hi @McMartin,
when I generate a Xcode project with Projucer, the Extra Linker Flags are added as OTHER_LDFLAGS but when I generate a Xcode project with FRUT the EXTRA_LINKER_FLAGS are added as OTHER_LIBTOOLFLAGS. When I build with Xcode I get the following error:
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character W' in: -Wl`
I can fix that by changing the OTHER_LIBTOOLFLAGS to OTHER_LDFLAGS.
Example
Flags I set in Projucer:
Projucer generated project.pbxproj:
OTHER_LDFLAGS = "-lz -Wl -ld_classic";
But no OTHER_LIBTOOLFLAGS
FRUT/CMake generated project.pbxproj:
OTHER_LIBTOOLFLAGS = (" -lz -Wl -ld_classic");
But no OTHER_LDFLAGS
Maybe I have to change something in Xcode when built with FRUT/CMake generated Xcode project files, but I think the linker flags should be added as OTHER_LDFLAGS.