I wish to install OpenVPN on OpenBSD 5.5 using OpenVPN source tarball.
According to the instructions here, I have to install lzo and
add
CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"directives to "configure", sincegccwill not find them otherwise.
I have googled extensively for guide on how to do the above on OpenBSD but there is none.
This is what I plan to do:
- Untar the source tarball to a freshly created directory
- Issue the command
./configure CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" - Issue the command
make - Issue the command
make install
Which of the following syntax is correct?
./configure CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" or
./configure --CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" or
./configure --CFLAGS="-I/usr/local/include" --LDFLAGS="-L/usr/local/lib"