summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-12-13 15:15:09 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2010-12-13 15:15:09 -0800
commitd8ea4f87e3e5a44985f961a2def83612b5c90c9a (patch)
tree966c0f5d7c1d8c98d83c09c9fb5dcf14afab92ea /Makefile.am
parentab2f5d520eb46a6f407c396413523256803814fe (diff)
downloadvyatta-cfg-d8ea4f87e3e5a44985f961a2def83612b5c90c9a.tar.gz
vyatta-cfg-d8ea4f87e3e5a44985f961a2def83612b5c90c9a.zip
make the library croak when internal error occurs in perl context.
* extend output/assert mechanism and simplify code. * when handling internal error, automatically detect perl context and croak if the library is used from perl.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index bc4bb78..a932d5e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,6 +30,7 @@ src_libvyatta_cfg_la_LIBADD += /usr/lib/libgio-2.0.la
src_libvyatta_cfg_la_LIBADD += -lboost_system
src_libvyatta_cfg_la_LIBADD += -lboost_filesystem
src_libvyatta_cfg_la_LIBADD += -lapt-pkg
+src_libvyatta_cfg_la_LIBADD += -lperl
src_libvyatta_cfg_la_LDFLAGS = -version-info 1:0:0
src_libvyatta_cfg_la_SOURCES = src/cli_parse.y src/cli_def.l src/cli_val.l
src_libvyatta_cfg_la_SOURCES += src/cli_new.c src/cli_path_utils.c