Added SONAME_SUFFIX

This commit is contained in:
David Schleef 2001-10-24 22:23:59 +00:00
parent 25a50c0ea6
commit e380ccedf8
2 changed files with 5 additions and 1 deletions

4
Config
View file

@ -19,6 +19,10 @@ CFLAGS += -DI18N # This enables gettextization
#CFLAGS += -g
# soname suffix. This can be used to differentiate between a
# library compiled against glibc versus uClibc
#SONAME_SUFFIX = -uClibc0
# Python wrapper:
# If you want to build the python wrapper, change this to yes.
with_python = no

View file

@ -7,7 +7,7 @@ CFLAGS += -fPIC -I../include -I.
OBJS=comedi.o timer.o sv.o range.o ioctl.o filler.o timed.o error.o \
dio.o data.o get.o cmd.o buffer.o
SONAME=libcomedi.so.0
SONAME=libcomedi$(SONAME_SUFFIX).so.0
libcomedi.a: $(OBJS)
#$(CC) -shared -Wl,-soname,libcomedi.so,-T,version_script -o libcomedi.so.${VERSION_CODE} $(OBJS) -lm