aboutsummaryrefslogtreecommitdiff
path: root/packages/ubuntu/Makefile.in
diff options
context:
space:
mode:
authorAlfredo Cardigliano <cardigliano@ntop.org>2018-12-10 16:54:01 +0100
committerAlfredo Cardigliano <cardigliano@ntop.org>2018-12-10 16:54:01 +0100
commit181ec4992bf469a0133852822c8a998b8df1bd11 (patch)
treeca992b5f3458f4ef829445aa160da305959fc733 /packages/ubuntu/Makefile.in
parent60337330bfba2db9b6a4e7f86af4556e626674e9 (diff)
Deb fix (shared lib links)
Diffstat (limited to 'packages/ubuntu/Makefile.in')
-rw-r--r--packages/ubuntu/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/ubuntu/Makefile.in b/packages/ubuntu/Makefile.in
index c55b379e0..a728cd13b 100644
--- a/packages/ubuntu/Makefile.in
+++ b/packages/ubuntu/Makefile.in
@@ -12,7 +12,9 @@ ndpi:
mkdir -p ./debian/ndpi-tmp/usr/local/lib ./debian/ndpi-tmp/usr/local/bin
mkdir -p ./debian/ndpi-dev-tmp/usr/local/lib ./debian/ndpi-dev-tmp/usr/local/include/ndpi
cd ${NDPI_HOME}; ./autogen.sh; ./configure; make
- cp $(NDPI_HOME)/src/lib/libndpi.so* ./debian/ndpi-tmp/usr/local/lib/
+ cp $(NDPI_HOME)/src/lib/libndpi.so.@NDPI_VERS@ ./debian/ndpi-tmp/usr/local/lib/
+ cd ./debian/ndpi-tmp/usr/local/lib/; ln -s libndpi.so.@NDPI_VERS@ libndpi.so; cd -
+ cd ./debian/ndpi-tmp/usr/local/lib/; ln -s libndpi.so.@NDPI_VERS@ libndpi.so.@MAJOR_RELEASE@; cd -
cp $(NDPI_HOME)/src/lib/libndpi.a ./debian/ndpi-dev-tmp/usr/local/lib/
cp $(NDPI_HOME)/example/ndpiReader ./debian/ndpi-tmp/usr/local/bin/
cp $(NDPI_HOME)/src/include/*.h ./debian/ndpi-dev-tmp/usr/local/include/ndpi/