Author: Andreas Tille Last-Update: Sat, 06 Jun 2020 09:29:39 +0200 Description: Invent soname Comment: This is actually not needed since for the moment we just go with the static library only --- a/Makefile +++ b/Makefile @@ -20,7 +20,9 @@ debug: CFLAGS+=-DMMAP_ALLOCATOR_DEBUG=1 debug: clean all libmmap_allocator.so: mmap_file_pool.o - g++ -shared -o libmmap_allocator.so mmap_file_pool.o + g++ -shared -Wl,-soname,libmmap_allocator.so.0 -o libmmap_allocator.so.0.0.0 mmap_file_pool.o + ln -s libmmap_allocator.so.0.0.0 libmmap_allocator.so.0 + ln -s libmmap_allocator.so.0 libmmap_allocator.so libmmap_allocator.a: mmap_file_pool.o ar r libmmap_allocator.a mmap_file_pool.o