mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 00:40:09 +01:00
glsl: Link glcpp with math library.
This patch fixes this build error with Oracle Solaris Studio. libtool: link: /opt/solarisstudio12.3/bin/cc -g -o glcpp/glcpp glcpp.o prog_hash_table.o ./.libs/libglcpp.a Undefined first referenced symbol in file sqrt prog_hash_table.o Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
c4815f6cd6
commit
9bf41f09ab
1 changed files with 3 additions and 1 deletions
|
|
@ -111,7 +111,9 @@ libglcpp_la_SOURCES = \
|
|||
glcpp_glcpp_SOURCES = \
|
||||
glcpp/glcpp.c \
|
||||
$(top_srcdir)/src/mesa/program/prog_hash_table.c
|
||||
glcpp_glcpp_LDADD = libglcpp.la
|
||||
glcpp_glcpp_LDADD = \
|
||||
libglcpp.la \
|
||||
-lm
|
||||
|
||||
libglsl_la_LIBADD = libglcpp.la
|
||||
libglsl_la_SOURCES = \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue