From: David Schleef Date: Wed, 24 Oct 2001 22:23:59 +0000 (+0000) Subject: Added SONAME_SUFFIX X-Git-Tag: r0_7_17~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e380ccedf84f76e3ee93d8e1f6e674d770c9fe74;p=comedilib.git Added SONAME_SUFFIX --- 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