summaryrefslogtreecommitdiff
path: root/rx-1.5-libtoolmode.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-06 02:47:06 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-06 02:47:06 +0000
commit09c8b7f180aef68f8c2cf5a35e23e3e719d88cdb (patch)
tree9e67ac8569bdffe5867e312dbc79cac05f2c8f6e /rx-1.5-libtoolmode.patch
parent76da0ecdd4b4d33a007c1cf9e4f68abeaac8e99a (diff)
automatic import of librxopeneuler24.03_LTS
Diffstat (limited to 'rx-1.5-libtoolmode.patch')
-rw-r--r--rx-1.5-libtoolmode.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/rx-1.5-libtoolmode.patch b/rx-1.5-libtoolmode.patch
new file mode 100644
index 0000000..7086e5d
--- /dev/null
+++ b/rx-1.5-libtoolmode.patch
@@ -0,0 +1,28 @@
+diff -up rx-1.5/rx/Makefile.in.BAD rx-1.5/rx/Makefile.in
+--- rx-1.5/rx/Makefile.in.BAD 2009-02-16 11:36:15.000000000 -0500
++++ rx-1.5/rx/Makefile.in 2009-02-16 11:36:39.000000000 -0500
+@@ -67,13 +67,13 @@ gen_c_files=rgx.x
+ $(CC) -c $(ALL_CFLAGS) $(DEFS) -I$(srcdir) $<
+
+ .c.lo:
+- $(LIBTOOL) $(CC) -c $(ALL_CFLAGS) $(DEFS) -I$(srcdir) $< -o $@
++ $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $(DEFS) -I$(srcdir) $< -o $@
+
+ all: librx.la
+
+ install: all
+ $(INSTALL) $(srcdir)/inst-rxposix.h $(DESTDIR)$(includedir)/rxposix.h
+- $(LIBTOOL) $(INSTALL) -c librx.la $(DESTDIR)$(libdir)
++ $(LIBTOOL) --mode=install $(INSTALL) -c librx.la $(DESTDIR)$(libdir)
+
+
+ uninstall:
+@@ -127,7 +127,7 @@ librx.a: $(libobjs) $(opt_objs)
+ $(RANLIB) librx.a
+
+ librx.la: $(liblobjs) $(opt_objs)
+- $(LIBTOOL) $(CC) $(ALL_CFLAGS) $(DEFS) -I$(srcdir) -o $@ $(liblobjs) -rpath $(libdir)
++ $(LIBTOOL) --mode=link $(CC) $(ALL_CFLAGS) $(DEFS) -I$(srcdir) -o $@ $(liblobjs) -rpath $(libdir)
+
+
+ depends: