summaryrefslogtreecommitdiff
path: root/package/gettext-tiny/patches/patch-Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-01 15:26:49 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-01 15:26:49 +0100
commit0e19731bdf514eabf6a31ece3d4f59c84c11f3a2 (patch)
tree4f967f08fe59b3f5c4acf2e0d82d15c564f8d773 /package/gettext-tiny/patches/patch-Makefile
parentcaec12548668dd7dd564ce732d8c77a76dfe4788 (diff)
allow gettext-tiny host compile with HOST_STYLE=manual
Diffstat (limited to 'package/gettext-tiny/patches/patch-Makefile')
-rw-r--r--package/gettext-tiny/patches/patch-Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/package/gettext-tiny/patches/patch-Makefile b/package/gettext-tiny/patches/patch-Makefile
index 45cbae4dc..c9584ef3c 100644
--- a/package/gettext-tiny/patches/patch-Makefile
+++ b/package/gettext-tiny/patches/patch-Makefile
@@ -1,5 +1,5 @@
--- gettext-tiny-0.0.3.orig/Makefile 2013-06-30 06:48:42.000000000 +0200
-+++ gettext-tiny-0.0.3/Makefile 2013-10-04 11:58:03.000000000 +0200
++++ gettext-tiny-0.0.3/Makefile 2013-10-30 22:13:29.000000000 +0100
@@ -1,4 +1,4 @@
-prefix=/usr/local
+prefix=/usr
@@ -15,7 +15,18 @@
AR ?= $(CROSS_COMPILE)ar
RANLIB ?= $(CROSS_COMPILE)ranlib
-@@ -56,13 +56,16 @@ xgettext:
+@@ -47,22 +47,25 @@ libintl.a: $(LIBOBJS)
+ $(RANLIB) $@
+
+ msgmerge: $(OBJS)
+- $(CC) $(LDFLAGS) -static -o $@ src/msgmerge.o $(PARSEROBJS)
++ $(CC) $(LDFLAGS) -o $@ src/msgmerge.o $(PARSEROBJS)
+
+ msgfmt: $(OBJS)
+- $(CC) $(LDFLAGS) -static -o $@ src/msgfmt.o $(PARSEROBJS)
++ $(CC) $(LDFLAGS) -o $@ src/msgfmt.o $(PARSEROBJS)
+
+ xgettext:
cp src/xgettext.sh ./xgettext
$(DESTDIR)$(libdir)/%.a: %.a