diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-01 14:26:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-01 14:30:49 +0000 |
commit | 2ebfb9d9ed7554180c3c077b14291a1853f8e2ef (patch) | |
tree | e1ca4362e7a98346aabc5143c6391afa2ddda43c /meta/classes/pkgconfig.bbclass | |
parent | 6e2b53f47da0e97271fb51b281d24da1e1d549cc (diff) | |
download | openembedded-core-2ebfb9d9ed7554180c3c077b14291a1853f8e2ef.tar.gz openembedded-core-2ebfb9d9ed7554180c3c077b14291a1853f8e2ef.tar.bz2 openembedded-core-2ebfb9d9ed7554180c3c077b14291a1853f8e2ef.tar.xz openembedded-core-2ebfb9d9ed7554180c3c077b14291a1853f8e2ef.zip |
puzzles: Ensure to link against libm for math functions
Without this we can see failures like:
| make: *** [samegame] Error 1
| /media/build1/poky/build/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.3/ld: inertia.o: undefined reference to symbol 'sqrt@@GLIBC_2.0'
| /media/build1/poky/build/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.3/ld: note: 'sqrt@@GLIBC_2.0' is defined in DSO /media/build1/poky/build/tmp/sysroots/qemux86/lib/libm.so.6 so try adding it to the linker command line
| /media/build1/poky/build/tmp/sysroots/qemux86/lib/libm.so.6: could not read symbols: Invalid operation
| collect2: ld returned 1 exit status
| make: *** [inertia] Error 1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/pkgconfig.bbclass')
0 files changed, 0 insertions, 0 deletions