raptor2: Place in proper folder. Initial fix for building shared library.
This commit is contained in:
@@ -9,14 +9,19 @@ pkgdesc="RDF Parser Toolkit (mingw-w64)"
|
||||
arch=('any')
|
||||
url='http://librdf.org/raptor/'
|
||||
license=('LICENSE')
|
||||
source=("http://download.librdf.org/source/${_realname}-${pkgver}.tar.gz")
|
||||
sha1sums=("504231f87024df9aceb90eb957196b557b4b8e38")
|
||||
source=("http://download.librdf.org/source/${_realname}-${pkgver}.tar.gz"
|
||||
no-undefined.patch)
|
||||
sha1sums=('504231f87024df9aceb90eb957196b557b4b8e38'
|
||||
'9c7008807ad3eda1d42204bc98c6ce1287d8e6f5')
|
||||
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-libxml2"
|
||||
"${MINGW_PACKAGE_PREFIX}-curl")
|
||||
|
||||
prepare() {
|
||||
cd $srcdir/${_realname}-${pkgver}
|
||||
patch -p1 -i ${srcdir}/no-undefined.patch
|
||||
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
build() {
|
||||
11
mingw-w64-raptor2/no-undefined.patch
Normal file
11
mingw-w64-raptor2/no-undefined.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- raptor2-2.0.15/src/Makefile.am.orig 2016-01-27 13:33:28.602246500 +0300
|
||||
+++ raptor2-2.0.15/src/Makefile.am 2016-01-27 13:33:37.351634000 +0300
|
||||
@@ -171,7 +171,7 @@
|
||||
libraptor2_la_LIBADD += $(top_builddir)/librdfa/librdfa.la
|
||||
endif
|
||||
|
||||
-libraptor2_la_LDFLAGS = -version-info @RAPTOR_LIBTOOL_VERSION@ \
|
||||
+libraptor2_la_LDFLAGS = -version-info @RAPTOR_LIBTOOL_VERSION@ -no-undefined \
|
||||
@RAPTOR_LDFLAGS@ $(MEM_LIBS)
|
||||
libraptor2_la_LIBADD += @LTLIBOBJS@
|
||||
|
||||
Reference in New Issue
Block a user