开发者

libtool: 'make' command ends without errors but don't creates any executable

When I run 'make', in a project with autotools and libtool, the library is builded correctly, but the executable is not created in its path. This is the line generated by automake:

/bin/bash ../libtool --tag=CXX   --mode=link g++  -g -O0   -o foo foo-foo.o ../libfoo/src/libfoo.la

This line doesn't print anything (even errors). There is something wrong with this Makefile.am?

bin_PROGRAMS=foo

f开发者_如何学Gooo_SOURCES= \
    foo.cc

foo_CPPFLAGS = \
    -I$(top_srcdir)/libfoo/include \
    -DLOCALEDIR=\"$(localedir)\"

foo_LDADD = \
    ../libfoo/src/libfoo.la \
    $(LIBINTL)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜