Static lib build error - ar not able to find @"libxxx.txt"
Posted: Mon Aug 15, 2016 10:40 am
I'm quite puzzled by this error. The compilation works that proves the relative directory works, but ar fails.
----------Building project:[ libsqlite - Debug ]----------
/usr/bin/gcc -c "/Users/account/Code/git/github.com/macOS/c/sqlite/src/sqlite3.c" -g -DSQLITE_HAS_CODEC -o ./Debug/sqlite3.c.o -I.
/usr/bin/ar rcu ./Debug/libsqlite.a @"libsqlite.txt"
ar: @libsqlite.txt: No such file or directory
make[1]: *** [Debug/libsqlite.a] Error 1
My platform is macOS (Sierra beta 5).
----------Building project:[ libsqlite - Debug ]----------
/usr/bin/gcc -c "/Users/account/Code/git/github.com/macOS/c/sqlite/src/sqlite3.c" -g -DSQLITE_HAS_CODEC -o ./Debug/sqlite3.c.o -I.
/usr/bin/ar rcu ./Debug/libsqlite.a @"libsqlite.txt"
ar: @libsqlite.txt: No such file or directory
make[1]: *** [Debug/libsqlite.a] Error 1
My platform is macOS (Sierra beta 5).