moved LNKER_ARGS to the end of command
This commit is contained in:
parent
d72aa0c809
commit
2bebe76c7e
@ -3,6 +3,7 @@
|
||||
+ added task `sanitize`
|
||||
+ default C++ standard set to `c++11`
|
||||
+ added `INCLUDE` to `default.config`
|
||||
+ moved `LINKER_ARGS` to the end of linkage command in `functions.sh` to properly link static libs
|
||||
|
||||
# v5
|
||||
+ added task `clean`
|
||||
|
||||
@ -80,7 +80,7 @@ function link {
|
||||
local objects="$(find $OBJDIR/objects -name '*.o')
|
||||
$(find $OBJDIR/libs -name '*.a')"
|
||||
myprint "${BLUE}objects: ${GRAY}$objects"
|
||||
local command="$CMP_CPP $args $(echo "$objects" | tr '\n' ' ') -o $OBJDIR/out/$outfile"
|
||||
local command="$CMP_CPP $(echo "$objects" | tr '\n' ' ') $args -o $OBJDIR/out/$outfile"
|
||||
myprint "$command"
|
||||
if $command
|
||||
then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user