configure: fix duplicate of -lrt flag #2

Closed
totoroliu wants to merge 1 commits from master into master

1 Commits

Author SHA1 Message Date
Rick Liu
4eef2663dd configure: fix duplicate of -lrt flag
'-lrt' flag duplication would cause 'undefined reference to clock_gettime' error
during compilation time.

Before fix:
... -o qemu-bridge-helper qemu-bridge-helper.o    -lrt -pthread -lgthread-2.0 -lrt -lglib-2.0
After fix:
... -o qemu-bridge-helper qemu-bridge-helper.o    -pthread -lgthread-2.0 -lrt -lglib-2.0

Reference:
http://hi.baidu.com/sanitywolf/item/7a8b69c1e76dd220a0b50ab1
2014-05-22 15:10:16 -07:00