libtranscript: Add patch for dynamic linking issue
as described in https://github.com/android/ndk/issues/201.
This commit is contained in:
parent
e966eded8e
commit
114a7152a4
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A character-set conversion library"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.3.3
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://os.ghalkes.nl/dist/libtranscript-${TERMUX_PKG_VERSION}.tar.bz2
|
||||
TERMUX_PKG_SHA256=1f8c19f257da5d6fad0ed9a7e5bd2442819e910a19907c38e115116a3955f5fa
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
17
packages/libtranscript/mk-libtranscript.in.patch
Normal file
17
packages/libtranscript/mk-libtranscript.in.patch
Normal file
@ -0,0 +1,17 @@
|
||||
--- a/mk/libtranscript.in
|
||||
+++ b/mk/libtranscript.in
|
||||
@@ -87,10 +87,10 @@
|
||||
-rpath $(libdir)
|
||||
|
||||
src/modules/ascii.la:src/modules/ascii.lo src/libtranscript.la
|
||||
- $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/ascii.lo $(LDLIBS) -rpath $(libdir)/transcript1
|
||||
+ $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/ascii.lo $(LDLIBS) -Lsrc/.libs -ltranscript -rpath $(libdir)/transcript1
|
||||
src/modules/unicode.la:src/modules/unicode_gb18030.lo src/modules/unicode_utf7.lo src/modules/unicode.lo src/libtranscript.la
|
||||
- $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/unicode_gb18030.lo src/modules/unicode_utf7.lo src/modules/unicode.lo $(LDLIBS) -rpath $(libdir)/transcript1
|
||||
+ $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/unicode_gb18030.lo src/modules/unicode_utf7.lo src/modules/unicode.lo $(LDLIBS) -Lsrc/.libs -ltranscript -rpath $(libdir)/transcript1
|
||||
src/modules/iso2022.la:src/modules/iso2022.lo src/libtranscript.la
|
||||
- $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/iso2022.lo $(LDLIBS) -rpath $(libdir)/transcript1
|
||||
+ $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/iso2022.lo $(LDLIBS) -Lsrc/.libs -ltranscript -rpath $(libdir)/transcript1
|
||||
src/modules/euctw.la:src/modules/euctw.lo src/libtranscript.la
|
||||
- $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/euctw.lo $(LDLIBS) -rpath $(libdir)/transcript1
|
||||
+ $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/euctw.lo $(LDLIBS) -Lsrc/.libs -ltranscript -rpath $(libdir)/transcript1
|
Loading…
Reference in New Issue
Block a user