diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-04-02 17:55:25 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-04-02 17:55:25 +0200 |
commit | f715ec8ea5d31dbb51fd830d0fec6145f3b3dc90 (patch) | |
tree | 8345e1927d8ac480517d56eb4920166e48648076 /libsodium-build.patch | |
parent | a63fe626c1d6cc5405624eb2ab1af93b0631379d (diff) |
php-pecl-libsodium: 0.1.2
Diffstat (limited to 'libsodium-build.patch')
-rw-r--r-- | libsodium-build.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libsodium-build.patch b/libsodium-build.patch new file mode 100644 index 0000000..a7ea30b --- /dev/null +++ b/libsodium-build.patch @@ -0,0 +1,28 @@ +From 1959c39f0ee575794f9c6b06b89e18b0081f7564 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Thu, 2 Apr 2015 17:42:49 +0200 +Subject: [PATCH] fix typo in rev ea710a2fbba928c2f8af7c9d1b7027e64fa9d4aa + +--- + config.m4 | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/config.m4 b/config.m4 +index 96ab23c..2a7fe2e 100644 +--- a/config.m4 ++++ b/config.m4 +@@ -31,12 +31,12 @@ if test "$PHP_LIBSODIUM" != "no"; then + + PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL, + [ +- PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $LIBSODIUM_DIR/$PHP_LIB, LIBSODIUM_SHARED_LIBADD) ++ PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $LIBSODIUM_DIR/$PHP_LIBDIR, LIBSODIUM_SHARED_LIBADD) + AC_DEFINE(HAVE_LIBSODIUMLIB,1,[ ]) + ],[ + AC_MSG_ERROR([wrong libsodium lib version or lib not found]) + ],[ +- -L$LIBSODIUM_DIR/$PHP_LIB ++ -L$LIBSODIUM_DIR/$PHP_LIBDIR + ]) + + PHP_SUBST(LIBSODIUM_SHARED_LIBADD) |