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 <nt...@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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to