From e380ccedf84f76e3ee93d8e1f6e674d770c9fe74 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 24 Oct 2001 22:23:59 +0000 Subject: [PATCH] Added SONAME_SUFFIX --- Config | 4 ++++ lib/Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Config b/Config index 01dab3c..9d12a52 100644 --- a/Config +++ b/Config @@ -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 diff --git a/lib/Makefile b/lib/Makefile index 1269b0f..34e5065 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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 -- 2.26.2