Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Always compile with -fPIC

Helps on 64-bit machines, does not hurt on 32-bit machines
  • Loading branch information...
commit 99b93f7c0ff524e85350e0ff382de01fa6592051 1 parent 6be5acb
@squadette authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Makefile
  2. +1 −1  README
View
2  Makefile
@@ -9,7 +9,7 @@ CC=g++
INCL=
LDFLAGS=
LIBS=-lgcrypt -lpthread
-CFLAGS=-Wall -shared
+CFLAGS=-Wall -shared -fPIC -DPIC
PLUGIN=radiusplugin.so
OBJECTS=\
RadiusClass/RadiusAttribute.o \
View
2  README 100755 → 100644
@@ -186,7 +186,7 @@ TROUBLESHOOTING
in the config file of the plugin to a existing dummy directory.
- Compiling fails on Solaris 10:
- - add following options: -lsocket -lnsl -lresolv -fPIC -DPIC
+ - add following options: -lsocket -lnsl -lresolv
- Values for BytesIn/BytesOut are 0 in the accounting log of the RADIUS server:
- Make sure that the status file of OpenVPN exist and the plugin can read it.
Please sign in to comment.
Something went wrong with that request. Please try again.