File: fix-makefile-prefix

package info (click to toggle)
ndpi 4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 164,548 kB
  • sloc: ansic: 58,816; cpp: 14,558; python: 2,079; makefile: 683; sh: 287; objc: 70; ruby: 28; exp: 4
file content (16 lines) | stat: -rw-r--r-- 596 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Ensure prefix and libdir point to /usr and not /usr/local
Author: Bernd Zeimetz <bzed@debian.org>

Index: ndpi/src/lib/Makefile.in
===================================================================
--- ndpi.orig/src/lib/Makefile.in
+++ ndpi/src/lib/Makefile.in
@@ -12,7 +12,7 @@
 # Installation directories
 #
 prefix     = @prefix@
-libdir     = ${prefix}/lib
+libdir     = ${prefix}/lib/$(DEB_TARGET_MULTIARCH)
 includedir = ${prefix}/include/ndpi
 CFLAGS     += -fPIC -DPIC -I../include -Ithird_party/include -DNDPI_LIB_COMPILATION @CFLAGS@ @CUSTOM_NDPI@
 LDFLAGS    = @LDFLAGS@