[contrib/cristal] make it compile out of the box
commita6b4824dfcd936f7bce3dd83da6084bd098213a1
authorPicca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>
Wed, 21 Jun 2023 08:59:30 +0000 (21 10:59 +0200)
committerPicca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>
Wed, 21 Jun 2023 08:59:30 +0000 (21 10:59 +0200)
tree5b3df27f746fa4c1bb32b2cc389eddc83b91ca85
parent41c5b78e52ba5fae08b2b1bdd071230c57a3d80e
[contrib/cristal] make it compile out of the box

previously we got

/bin/bash ../../libtool  --tag=CC   --mode=link gcc -I../.. -I../../hkl -I../../third-party -DPKGDATA=\""/usr/local/share/hkl"\" -fPIC -DPIC  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -I/usr/include/hdf5/serial  -Wall -g -O2 -lcglm  -lglib-2.0  -L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5   -o little-data little-data.o xrays/libhkl-xrays.la
libtool: link: gcc -I../.. -I../../hkl -I../../third-party -DPKGDATA=\"/usr/local/share/hkl\" -fPIC -DPIC -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/hdf5/serial -Wall -g -O2 -o little-data little-data.o  -L/usr/lib/x86_64-linux-gnu/hdf5/serial xrays/.libs/libhkl-xrays.a -lcglm -lglib-2.0 -lhdf5
/usr/bin/ld: xrays/.libs/libhkl-xrays.a(xrays-image.o): undefined reference to symbol 'sqrt@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
contrib/cristal/Makefile.am
contrib/cristal/xrays/Makefile.am