]> git.saurik.com Git - cycript.git/commitdiff
Add libdl to the list of libraries explicitly linked.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 15 Jun 2013 07:36:10 +0000 (00:36 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 15 Jun 2013 07:36:10 +0000 (00:36 -0700)
Makefile.am

index 8878d84dc408d6f6138cae075ab380da927b823b..8e6b3649ff2af0d4aef16c2a69ea50a728dc7950 100644 (file)
@@ -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