summaryrefslogtreecommitdiff
path: root/lasso-perl-bindings-ldflags.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-10-26 05:06:45 +0000
committerCoprDistGit <infra@openeuler.org>2024-10-26 05:06:45 +0000
commit5248dcbb19233badd46e67e8089c67f605554021 (patch)
tree98fc419f6017523a78b2619922da9e509203386f /lasso-perl-bindings-ldflags.patch
parent41a46ebbc7df8cbfa324ed301a76fbdbb0215f10 (diff)
automatic import of lasso
Diffstat (limited to 'lasso-perl-bindings-ldflags.patch')
-rw-r--r--lasso-perl-bindings-ldflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/lasso-perl-bindings-ldflags.patch b/lasso-perl-bindings-ldflags.patch
new file mode 100644
index 0000000..b9a8199
--- /dev/null
+++ b/lasso-perl-bindings-ldflags.patch
@@ -0,0 +1,11 @@
+--- lasso-2.8.2/bindings/perl/Makefile.am.orig 2024-10-26 13:00:36.875545200 +0800
++++ lasso-2.8.2/bindings/perl/Makefile.am 2024-10-26 13:03:52.835188200 +0800
+@@ -38,7 +38,7 @@
+ done; \
+ chmod -R u+rwX $(TOCOPY); \
+ fi;
+- $(AM_V_SUBMAKE) $(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(DESTDIR) PREFIX=$(prefix) CCFLAGS="$(LASSO_XS_CFLAGS)" INC="-I. -I$(top_srcdir) -I$(srcdir)" LIBS="`$(top_builddir)/lasso-src-config --libs` $(LDFLAGS)" OPTIMIZE="-g" $(AM_V_SUBMAKE_POSTFIX)
++ $(AM_V_SUBMAKE) $(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(DESTDIR) PREFIX=$(prefix) CCFLAGS="$(LASSO_XS_CFLAGS)" LDDLFLAGS="$(LDFLAGS)" INC="-I. -I$(top_srcdir) -I$(srcdir)" LIBS="`$(top_builddir)/lasso-src-config --libs`" OPTIMIZE="-g" $(AM_V_SUBMAKE_POSTFIX)
+
+ Lasso.xs Lasso.pm: lang.py typemap-in typemap-out
+ $(AM_V_GEN) $(PYTHON) $(top_srcdir)/bindings/bindings.py -l perl --src-dir=$(top_srcdir)/lasso/ $(EXTRA_ARGS)