Skip to content

Commit

Permalink
libglade : comment installation of missing dll file that breaks make …
Browse files Browse the repository at this point in the history
…install
  • Loading branch information
william3 committed Aug 5, 2013
1 parent a8d1ba9 commit 21e8f4f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
32 changes: 32 additions & 0 deletions src/libglade-1-fixes.patch
@@ -0,0 +1,32 @@
This file is part of MXE.
See index.html for further information.

Contains ad hoc patches for cross building.

From 01e3cf1fae96edc0b5e8ccd0bf2c2ea11d0a6987 Mon Sep 17 00:00:00 2001
From: MXE
Date: Sun, 4 Aug 2013 23:32:15 +0200
Subject: [PATCH] comment out production of some file for make install to
succeed


diff --git a/glade/Makefile.am b/glade/Makefile.am
index f6271f7..fae55bc 100644
--- a/glade/Makefile.am
+++ b/glade/Makefile.am
@@ -13,10 +13,10 @@ if OS_WIN32
export_symbols = -export-symbols glade.def

install-libtool-import-lib:
- $(INSTALL) .libs/libglade-2.0.dll.a $(DESTDIR)$(libdir)
+# $(INSTALL) .libs/libglade-2.0.dll.a $(DESTDIR)$(libdir)

uninstall-libtool-import-lib:
- -rm $(DESTDIR)$(libdir)/libglade-2.0.dll.a
+# -rm $(DESTDIR)$(libdir)/libglade-2.0.dll.a
else

export_symbols = -export-symbols-regex "^[^_].*"
--
1.8.1.2

3 changes: 2 additions & 1 deletion src/libglade.mk
Expand Up @@ -17,12 +17,13 @@ define $(PKG)_UPDATE
endef

define $(PKG)_BUILD
cd '$(1)' && autoreconf -fi
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config'
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install-exec
$(MAKE) -C '$(1)' -j 1 install
endef

0 comments on commit 21e8f4f

Please sign in to comment.