[snappy-java] 01/01: Fix the build with ld --as-needed (Closes: #797558)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Aug 31 14:36:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository snappy-java.
commit c9838c4a2f908530dc6b31e019889edd29e5d83a
Author: Matthias Klose <doko at ubuntu.com>
Date: Mon Aug 31 16:33:52 2015 +0200
Fix the build with ld --as-needed (Closes: #797558)
---
debian/changelog | 7 +++++++
debian/rules | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 671cc32..c89db4b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+snappy-java (1.1.1.7-2) unstable; urgency=medium
+
+ * Team upload.
+ * Fix the build with ld --as-needed (Closes: #797558)
+
+ -- Matthias Klose <doko at ubuntu.com> Mon, 31 Aug 2015 16:15:46 +0200
+
snappy-java (1.1.1.7-1) unstable; urgency=medium
* Team upload.
diff --git a/debian/rules b/debian/rules
index 2cd44cd..5a00864 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,9 +20,9 @@ override_dh_auto_build-arch:
gcc $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \
-I$(JAVA_HOME)/include/ \
-I$(JAVA_HOME)/include/linux \
- -lsnappy -fPIC -shared -Wall -g \
+ -fPIC -shared -Wall -g \
-o target/libsnappyjava.so \
- src/main/java/org/xerial/snappy/SnappyNative.cpp
+ src/main/java/org/xerial/snappy/SnappyNative.cpp -lsnappy
override_dh_auto_install-indep:
dh_auto_install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/snappy-java.git
More information about the pkg-java-commits
mailing list