Advertisement

Space after ld's -L argument in makefile

Started by February 24, 2011 08:54 PM
0 comments, last by WitchLord 14 years ago
When I run gnuc's makefile for test_feature, it complains

ld: -L must be immediately followed by a directory path (no space)
Line 168 in the make file is:

$(CXX) $(LDFLAGS) -o $(BIN) $(OBJ) -langelscript -L ../../../../angelscript/lib
Removing the space after -L allows it to compile:

$(CXX) $(LDFLAGS) -o $(BIN) $(OBJ) -langelscript -L../../../../angelscript/lib
According to the man page this seems to be the correct syntax.

I also see the same thing under test_performance.
Thanks. I've fixed this in revision 816.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement