开发者

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

开发者 https://www.devze.com 2023-03-12 15:58 出处:网络
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:

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

精彩评论

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