Add libtool support for C++ objects
This commit is contained in:
parent
7339b39f71
commit
371b3ecea3
@ -1883,6 +1883,9 @@ static int _target_source(Makefile * makefile,
|
|||||||
_makefile_print(makefile, "%s", "\n\t");
|
_makefile_print(makefile, "%s", "\n\t");
|
||||||
if(strchr(source, '/') != NULL)
|
if(strchr(source, '/') != NULL)
|
||||||
ret = _source_subdir(makefile, source);
|
ret = _source_subdir(makefile, source);
|
||||||
|
if(tt == TT_LIBTOOL)
|
||||||
|
_makefile_print(makefile, "%s",
|
||||||
|
"$(LIBTOOL) --mode=compile ");
|
||||||
_makefile_print(makefile, "%s%s%s", "$(CXX) $(", target,
|
_makefile_print(makefile, "%s%s%s", "$(CXX) $(", target,
|
||||||
"_CXXFLAGS)");
|
"_CXXFLAGS)");
|
||||||
if(p != NULL)
|
if(p != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user