Add .so as a suffix for libtcc on Linux, even when it's not being

installed.
This commit is contained in:
David Martínez Moreno 2014-01-01 00:04:40 -08:00
parent 06ed8553c6
commit 1fbeae231d
1 changed files with 4 additions and 0 deletions

View File

@ -4,7 +4,11 @@ OFILES=libtcc.o tccgen.o tccpp.o
CFLAGS+=-fPIC -Wall
LDFLAGS+=-shared
ifeq ($(OSNAME), 'darwin')
SOEXT?=dylib
else
SOEXT?=so
endif
LIBNAME=libr_tcc.${SOEXT}
all: ${LIBNAME} libr_tcc.a