File: 03-fix-makefile-pamlib-variable

package info (click to toggle)
otpw 1.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 380 kB
  • sloc: ansic: 2,858; makefile: 303
file content (21 lines) | stat: -rw-r--r-- 642 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
commit b64ae53ebbbb5d21dff5c8268a28e045b50a8c81
Author: Ludovic Stordeur <ludovic@funolang.net>
Date:   Thu Feb 9 23:25:29 2017 +0100

    Use `gcc' to guess the Target Triplet instead of hardcoding one.
    
    This should help to provide a more portable PAMLIB variable computation.

Index: otpw-1.5/Makefile
===================================================================
--- otpw-1.5.orig/Makefile
+++ otpw-1.5/Makefile
@@ -39,7 +39,7 @@ release:
 	rsync -t otpw.html $(HOME)/public_html/
 
 #PAMLIB=/lib/security
-PAMLIB=/lib/x86_64-linux-gnu/security
+PAMLIB=/lib/$(gcc -dumpmachine)/security
 
 install: install-pam install-gen