diff options
author | Guido Falsi <mad@madpilot.net> | 2018-11-15 09:09:52 +0100 |
---|---|---|
committer | Guido Falsi <mad@madpilot.net> | 2018-11-15 09:09:52 +0100 |
commit | 8c63f25478ac5883478df769b927f4aaaa050e62 (patch) | |
tree | 1bc84a291328b08fa81e95e26ed0ebf896098c5b /src/lib | |
parent | 977751efdbe61374bbe54f709b3fd6c1b971a9d6 (diff) |
Also create the libndpi.so.2 link.
This is created bydefault by all build tools for libraries and required in certain cases. FreeBSD linker requires it when using SONAME.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in index 1f07773e9..273f8e89d 100644 --- a/src/lib/Makefile.in +++ b/src/lib/Makefile.in @@ -47,6 +47,7 @@ $(NDPI_LIB_STATIC): $(OBJECTS) $(NDPI_LIB_SHARED): $(OBJECTS) $(CC) -shared -fPIC $(SONAME_FLAG) -o $@ $(OBJECTS) ln -Ffs $(NDPI_LIB_SHARED) $(NDPI_LIB_SHARED_BASE) + ln -Ffs $(NDPI_LIB_SHARED) $(NDPI_LIB_SHARED_BASE).$(NDPI_VERSION_MAJOR) %.o: %.c $(HEADERS) Makefile $(CC) $(CFLAGS) -c $< -o $@ @@ -58,5 +59,6 @@ install: $(NDPI_LIBS) mkdir -p $(DESTDIR)$(libdir) cp $(NDPI_LIBS) $(DESTDIR)$(libdir)/ ln -Ffs $(DESTDIR)$(libdir)/$(NDPI_LIB_SHARED) $(DESTDIR)$(libdir)/$(NDPI_LIB_SHARED_BASE) + ln -Ffs $(DESTDIR)$(libdir)/$(NDPI_LIB_SHARED) $(DESTDIR)$(libdir)/$(NDPI_LIB_SHARED_BASE).$(NDPI_VERSION_MAJOR) mkdir -p $(DESTDIR)$(includedir) cp ../include/*.h $(DESTDIR)$(includedir) |