You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
29 lines
1.0 KiB
14 years ago
|
diff -up pam_radius-1.3.17/Makefile.make pam_radius-1.3.17/Makefile
|
||
|
--- pam_radius-1.3.17/Makefile.make 2010-11-22 14:03:13.702695066 +0100
|
||
|
+++ pam_radius-1.3.17/Makefile 2010-11-22 14:06:33.958697253 +0100
|
||
|
@@ -47,6 +47,7 @@ pam_radius_auth.o: pam_radius_auth.c pam
|
||
|
# Build the shared library.
|
||
|
#
|
||
|
# The -Bshareable flag *should* work on *most* operating systems.
|
||
|
+# ld -Bshareable pam_radius_auth.o md5.o -lpam -o pam_radius_auth.so
|
||
|
#
|
||
|
# On Solaris, you might try using '-G', instead.
|
||
|
#
|
||
|
@@ -55,7 +56,7 @@ pam_radius_auth.o: pam_radius_auth.c pam
|
||
|
# gcc -shared pam_radius_auth.o md5.o -lpam -lc -o pam_radius_auth.so
|
||
|
#
|
||
|
pam_radius_auth.so: pam_radius_auth.o md5.o
|
||
|
- ld -Bshareable pam_radius_auth.o md5.o -lpam -o pam_radius_auth.so
|
||
|
+ gcc -shared pam_radius_auth.o md5.o -lpam -lc -o pam_radius_auth.so
|
||
|
|
||
|
######################################################################
|
||
|
#
|
||
|
@@ -72,3 +73,7 @@ dist:
|
||
|
#
|
||
|
clean:
|
||
|
@rm -f *~ *.so *.o
|
||
|
+
|
||
|
+install:
|
||
|
+ install -d ${DESTDIR}/lib/security
|
||
|
+ install -m 0755 pam_radius_auth.so ${DESTDIR}/lib/security
|