summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-02-02 12:57:06 -0500
committerTavian Barnes <tavianator@gmail.com>2010-02-02 12:57:06 -0500
commit48cf99abba57ac20d32421f57bf04cb96d92bc7c (patch)
treeb0ecd6ba8ffea10f522e663a3b42d43d9cf4d108 /libdimension
parent3da1fe6d2fb07f3f361482d8056e36636dcec3f5 (diff)
downloaddimension-48cf99abba57ac20d32421f57bf04cb96d92bc7c.tar.xz
Add -rdynamic to make backtraces more helpful().
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/libdimension/Makefile.am b/libdimension/Makefile.am
index 2f1b882..eca9bf1 100644
--- a/libdimension/Makefile.am
+++ b/libdimension/Makefile.am
@@ -17,6 +17,9 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ##
###########################################################################
+# Make dmnsn_error() backtraces useful
+AM_LDFLAGS = -rdynamic
+
nobase_include_HEADERS = dimension.h \
dimension/array.h \
dimension/camera.h \
@@ -68,7 +71,7 @@ libdimension_la_SOURCES = $(nobase_include_HEADERS) \
solid_pigment.c \
sphere.c \
texture.c
-libdimension_la_LDFLAGS = -version-info 0:0:0
+libdimension_la_LDFLAGS = -version-info 0:0:0 $(AM_LDFLAGS)
libdimension_la_LIBADD = -lm -lpthread -lpng -lGL
if PGO