[perl-openssl-defaults] 02/04: include <openssl/foo.h> instead of adding a gcc -I parameter for the subdir
ntyni at debian.org
ntyni at debian.org
Thu Dec 22 13:31:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
ntyni pushed a commit to branch master
in repository perl-openssl-defaults.
commit 52beba6d415a2825b699e2ba967c6945ed92e7c1
Author: Niko Tyni <ntyni at debian.org>
Date: Thu Dec 22 13:20:37 2016 +0200
include <openssl/foo.h> instead of adding a gcc -I parameter for the subdir
This form is what the OpenSSL manual pages use.
---
Makefile | 2 +-
openssl-version.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 3970fc4..63a727e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
openssl-version: openssl-version.c
- $(CC) $(CFLAGS) $(LDFLAGS) -I/usr/include/openssl $< -o $@ -lcrypto
+ $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ -lcrypto
clean:
$(RM) openssl-version
diff --git a/openssl-version.c b/openssl-version.c
index 83c1839..971d597 100644
--- a/openssl-version.c
+++ b/openssl-version.c
@@ -1,4 +1,4 @@
-#include <crypto.h>
+#include <openssl/crypto.h>
#include <stdio.h>
/* trivial program for linking against OpenSSL */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/perl-openssl-defaults.git
More information about the Pkg-perl-cvs-commits
mailing list