[geos] 11/16: Fix libruby linking.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Mon Aug 17 14:37:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch experimental
in repository geos.
commit b8991d8136a78539b44e0d17c96493ea281f7052
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Aug 17 14:58:22 2015 +0200
Fix libruby linking.
---
debian/patches/ruby2 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/patches/ruby2 b/debian/patches/ruby2
index 9f8851d..58f3a6f 100644
--- a/debian/patches/ruby2
+++ b/debian/patches/ruby2
@@ -78,7 +78,7 @@ Author: Bas Couwenberg <sebastic at xs4all.nl>
rubyextensiondir_LTLIBRARIES = geos.la
geos_la_SOURCES = geos_wrap.cxx
-geos_la_LIBADD = $(top_builddir)/capi/libgeos_c.la $(RUBY_SO_NAME)
-+geos_la_LIBADD = $(top_builddir)/capi/libgeos_c.la $(RUBY_ARCH_LIB_DIR)/$(RUBY_SO_NAME)
++geos_la_LIBADD = $(top_builddir)/capi/libgeos_c.la -l$(RUBY_SO_NAME)
# Only need to grab the capi header files
geos_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/capi
@@ -102,7 +102,7 @@ Author: Bas Couwenberg <sebastic at xs4all.nl>
@ENABLE_RUBY_TRUE at rubyextensiondir_LTLIBRARIES = geos.la
@ENABLE_RUBY_TRUE at geos_la_SOURCES = geos_wrap.cxx
- at ENABLE_RUBY_TRUE@geos_la_LIBADD = $(top_builddir)/capi/libgeos_c.la $(RUBY_SO_NAME)
-+ at ENABLE_RUBY_TRUE@geos_la_LIBADD = $(top_builddir)/capi/libgeos_c.la $(RUBY_ARCH_LIB_DIR)/$(RUBY_SO_NAME)
++ at ENABLE_RUBY_TRUE@geos_la_LIBADD = $(top_builddir)/capi/libgeos_c.la -l$(RUBY_SO_NAME)
# Only need to grab the capi header files
@ENABLE_RUBY_TRUE at geos_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/capi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/geos.git
More information about the Pkg-grass-devel
mailing list