diff options
author | chiehminw <chiehminw@synology.com> | 2019-03-13 15:04:10 +0800 |
---|---|---|
committer | chiehminw <chiehminw@synology.com> | 2019-03-13 15:04:10 +0800 |
commit | 43890b31fc45a76ac10e49a747ec925f77102bb7 (patch) | |
tree | 397372277610a5ee04bebd171fb2bb5f58367534 /example/ndpi_util.c | |
parent | 59f683858b2b8f28e88b9348b75fef5164665964 (diff) |
Use relative path for library link
relative link path can preserve link relation after packaging and
doplying to new machine
ex:
$ make DESTDIR=/tmp/ndpi install
$ tar czf ndpi.tar.gz /tmp/ndpi
$ tar xf ndpi.tar.gz -C /lib
Orignal install script will caused the /lib/libndpi.so.2 links to
/tmp/ndpi/libndpi.so.2.9.0 which is not intended
Signed-off-by: chiehminw <chiehminw@synology.com>
Diffstat (limited to 'example/ndpi_util.c')
0 files changed, 0 insertions, 0 deletions