mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
plug-ins: link file-fits with libm.
When linking with clang/lld, I had the following linking error: > ld.lld: error: undefined symbol: pow As a side change, also adding math.h header include, even though it didn't seem to break compilation. Just to be thorough.
This commit is contained in:
parent
69ebc25feb
commit
4ee549b4eb
2 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ if cfitsio_dep.found()
|
|||
dependencies: [
|
||||
libgimpui_dep,
|
||||
cfitsio_dep,
|
||||
math,
|
||||
],
|
||||
install: true,
|
||||
install_dir: gimpplugindir / 'plug-ins' / plugin_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue