summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Zini <enrico@enricozini.org>2012-06-21 10:21:00 +0200
committerEnrico Zini <enrico@enricozini.org>2012-06-21 10:21:00 +0200
commit43c376aa91c31dbd519451235d0effb995a2b1a7 (patch)
treef34c8c68150590c386dc1e0071aeba4f1d1262ab
parent7d97f7c950677532a5f96e560081302076534ce2 (diff)
downloadlibept-43c376aa91c31dbd519451235d0effb995a2b1a7.tar.gz
Work when the toolchain defaults to --as-needed
-rw-r--r--CMakeLists.txt4
-rw-r--r--debian/changelog8
2 files changed, 10 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 194c36a..d18a2f4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,11 +3,11 @@ include( FindDoxygen )
add_custom_target( unit )
-set( EPT_VERSION "1.0.8" )
+set( EPT_VERSION "1.0.9" )
# Get the soversion from libapt-pkg to include in our own
execute_process(
- COMMAND "cc" "-xc" "-shared" "/dev/null" "-lapt-pkg"
+ COMMAND "cc" "-xc" "-shared" "-Wl,--no-as-needed" "/dev/null" "-lapt-pkg"
)
execute_process(
COMMAND "objdump" "-p" "a.out"
diff --git a/debian/changelog b/debian/changelog
index 3b87de6..d153a59 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libept (1.0.9) unstable; urgency=low
+
+ [ Adam Conrad ]
+ * Add -Wl,--no-as-needed to the -lapt-pkg linking trick, as it
+ fails to link anything if the toolchain defaults to as-neeed.
+
+ -- Enrico Zini <enrico@debian.org> Thu, 21 Jun 2012 10:11:57 +0200
+
libept (1.0.8) unstable; urgency=low
* Applied Julien Cristau's patch to avoid unnecessary soname bumps.