Added SONAME_SUFFIX
authorDavid Schleef <ds@schleef.org>
Wed, 24 Oct 2001 22:23:59 +0000 (22:23 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 24 Oct 2001 22:23:59 +0000 (22:23 +0000)
Config
lib/Makefile

diff --git a/Config b/Config
index 01dab3cbf804b3dbd4bccfea93440399eab18620..9d12a52ef6e621c229997148d076359dcb1ee170 100644 (file)
--- 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
index 1269b0f82badefe0f447aa7d941c0c94fb0a28f8..34e506503f7a0a41ef1d58ceab1cd7fd65c07e06 100644 (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