From 6434c77d6a0c5baae09d8bf238bc0488912ee81d Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 15 Jun 2013 00:36:10 -0700 Subject: [PATCH] Add libdl to the list of libraries explicitly linked. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 8878d84..8e6b364 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,13 +13,14 @@ AM_CPPFLAGS = -Werror -fno-common -I$(srcdir)/include -DYYDEBUG=1 lib_LTLIBRARIES = libcycript.la libcycript_la_SOURCES = Highlight.cpp Network.cpp Output.cpp Parser.cpp Replace.cpp -libcycript_la_LDFLAGS = -no-undefined $(LTLIBICONV) +libcycript_la_LDFLAGS = -no-undefined $(LTLIBICONV) -ldl libcycript_la_SOURCES += Cycript.tab.cc libcycript_la_SOURCES += lex.cy.cpp bin_PROGRAMS = cycript cycript_SOURCES = Console.cpp Display.cpp +cycript_LDFLAGS = -ldl cycript_LDADD = libcycript.la ldid = true -- 2.45.2