specify --tag

This commit is contained in:
tnn 2010-02-02 18:35:43 +00:00
parent 01fe5dc249
commit 223b8bd18e

View file

@ -1,17 +1,17 @@
.SUFFIXES: .la .lo .cpp
COMPILE_OPTS = ${INCLUDES} -I. ${CPPFLAGS} -DBSD=1 -DSOCKLEN_T=socklen_t
C = c
C_COMPILER = ${LIBTOOL} --mode=compile ${CC}
C_COMPILER = ${LIBTOOL} --tag=CC --mode=compile ${CC}
C_FLAGS = ${COMPILE_OPTS}
CPP = cpp
CPLUSPLUS_COMPILER = ${LIBTOOL} --mode=compile c++
CPLUSPLUS_COMPILER = ${LIBTOOL} --tag=CXX --mode=compile c++
CPLUSPLUS_FLAGS = ${COMPILE_OPTS} -Wall
OBJ = lo
LINK = ${LIBTOOL} --mode=link c++ -o
LINK = ${LIBTOOL} --tag=CXX --mode=link c++ -o
LINK+= # this is needed to add a space!
LINK_OPTS = -Wl,-R${PREFIX}/lib -lm
CONSOLE_LINK_OPTS = ${LINK_OPTS}
LIBRARY_LINK = ${LIBTOOL} --mode=link c++ -rpath ${PREFIX}/lib -version-info 0:0 -o
LIBRARY_LINK = ${LIBTOOL} --tag=CXX --mode=link c++ -rpath ${PREFIX}/lib -version-info 0:0 -o
LIBRARY_LINK+= # this is needed to add a space!
LIBRARY_LINK_OPTS = ${LINK_OPTS}
LIB_SUFFIX = la