[libyaml-libyaml-perl] 08/14: put -libyaml in LIBS only when told so via the environment
Damyan Ivanov
dmn at moszumanska.debian.org
Sun Jan 21 22:27:43 UTC 2018
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository libyaml-libyaml-perl.
commit 62a9cfd309eba1ab7542f5e84a5df95a428efdc0
Author: Damyan Ivanov <dmn at debian.org>
Date: Sun Jan 21 14:55:59 2018 +0000
put -libyaml in LIBS only when told so via the environment
---
debian/patches/system-libyaml.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/patches/system-libyaml.patch b/debian/patches/system-libyaml.patch
index ed94783..b90f9cf 100644
--- a/debian/patches/system-libyaml.patch
+++ b/debian/patches/system-libyaml.patch
@@ -5,7 +5,7 @@
# CCFLAGS => '-Wall',
DEFINE => $DEFINE,
- LIBS => [''], # e.g., '-lm'
-+ LIBS => ['-lyaml'], # e.g., '-lm'
++ LIBS => [$ENV{USE_SYSTEM_LIBYAML} ? '-lyaml' : ()], # e.g., '-lm'
INC => '-I.',
OBJECT => $obj_files,
ABSTRACT_FROM => 'lib/YAML/XS/LibYAML.pm',
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libyaml-libyaml-perl.git
More information about the Pkg-perl-cvs-commits
mailing list