From 47c35f2fc0de9960be93187c1db4be0b60126ea7 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 4 Sep 2003 08:15:44 +0000 Subject: [PATCH] teach glib to cross compile --- make/libglib12.mk | 22 +++++++++++++++++++--- sources/libglib_configure_1.2.10.bz2 | Bin 0 -> 8884 bytes 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 sources/libglib_configure_1.2.10.bz2 diff --git a/make/libglib12.mk b/make/libglib12.mk index 75bb38e7af..f6211ee107 100644 --- a/make/libglib12.mk +++ b/make/libglib12.mk @@ -7,7 +7,9 @@ LIBGLIB12_SOURCE:=glib-1.2.10.tar.gz LIBGLIB12_SITE:=ftp://ftp.gtk.org/pub/gtk/v1.2 LIBGLIB12_CAT:=zcat LIBGLIB12_DIR:=$(BUILD_DIR)/glib-1.2.10 -LIBGLIB12_BINARY:=libglib-1.2.so.0.0.10 +LIBGLIB12_BINARY:=libglib.a +LIBGLIB12_PATCH:=$(SOURCE_DIR)/libglib_configure_1.2.10.bz2 + $(DL_DIR)/$(LIBGLIB12_SOURCE): $(WGET) -P $(DL_DIR) $(LIBGLIB12_SITE)/$(LIBGLIB12_SOURCE) @@ -16,6 +18,7 @@ libglib12-source: $(DL_DIR)/$(LIBGLIB12_SOURCE) $(LIBGLIB12_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB12_SOURCE) $(LIBGLIB12_CAT) $(DL_DIR)/$(LIBGLIB12_SOURCE) | tar -C $(BUILD_DIR) -xvf - + bzcat $(LIBGLIB12_PATCH) | patch -p1 -d $(LIBGLIB12_DIR) touch $(LIBGLIB12_DIR)/.unpacked $(LIBGLIB12_DIR)/.configured: $(LIBGLIB12_DIR)/.unpacked @@ -24,7 +27,6 @@ $(LIBGLIB12_DIR)/.configured: $(LIBGLIB12_DIR)/.unpacked ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ @@ -44,7 +46,21 @@ $(LIBGLIB12_DIR)/.libs/$(LIBGLIB12_BINARY): $(LIBGLIB12_DIR)/.configured $(MAKE) CC=$(TARGET_CC) -C $(LIBGLIB12_DIR) $(STAGING_DIR)/lib/$(LIBGLIB12_BINARY): $(LIBGLIB12_DIR)/.libs/$(LIBGLIB12_BINARY) - $(MAKE) CC=$(TARGET_CC) prefix=$(STAGING_DIR) -C $(LIBGLIB12_DIR) install + $(MAKE) prefix=$(STAGING_DIR) \ + exec_prefix=$(STAGING_DIR) \ + bindir=$(STAGING_DIR)/bin \ + sbindir=$(STAGING_DIR)/sbin \ + libexecdir=$(STAGING_DIR)/libexec \ + datadir=$(STAGING_DIR)/share \ + sysconfdir=$(STAGING_DIR)/etc \ + sharedstatedir=$(STAGING_DIR)/com \ + localstatedir=$(STAGING_DIR)/var \ + libdir=$(STAGING_DIR)/lib \ + includedir=$(STAGING_DIR)/include \ + oldincludedir=$(STAGING_DIR)/include \ + infodir=$(STAGING_DIR)/info \ + mandir=$(STAGING_DIR)/man \ + -C $(LIBGLIB12_DIR) install; $(TARGET_DIR)/lib/$(LIBGLIB12_BINARY): $(STAGING_DIR)/lib/$(LIBGLIB12_BINARY) cp -a $(STAGING_DIR)/lib/$(LIBGLIB12_BINARY) $(TARGET_DIR)/lib/ diff --git a/sources/libglib_configure_1.2.10.bz2 b/sources/libglib_configure_1.2.10.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..883a8009d497b04db84d2cf8352bbe94f4f1e244 GIT binary patch literal 8884 zcmV;lB1_#uT4*^jL0KkKSvg9aF91)1e}I2KW&nTx|NsC0-~a#r-~M1QUwL|7dGp4S zM|;l`jLYlk(=8yVwW`xr^yhe5k#gGGz}@S6-P@u;Q~&?~0iXa3$8E1oQbbgC%@`fE zQYezKK(M2ujxwoAeYG6edNj1uQi`geB}GyqmYGU)!bnpf1ZW8Kf?}uYpNcger|Blz zCZ?JX)eQ}(dO!df85#{wO#u-KQ^`+L^-P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