summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-09-26 15:39:55 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-09-26 15:39:55 (GMT)
commit8ae279752e3ca5bbc058a0914e7c768f19d7da1e (patch)
tree474b154e74b94ee9bfa6c944c1fa51c530a7a0aa
parentaa5b86b3c0158242cf413f5fc76239e1d5fcca8f (diff)
downloadmxe-8ae279752e3ca5bbc058a0914e7c768f19d7da1e.zip
mxe-8ae279752e3ca5bbc058a0914e7c768f19d7da1e.tar.gz
mxe-8ae279752e3ca5bbc058a0914e7c768f19d7da1e.tar.bz2
libgomp: install libtool archive and import lib to standard locations
Fixes graphicsmagick on shared Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r--src/libgomp.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libgomp.mk b/src/libgomp.mk
index 1e6be9d..899a545 100644
--- a/src/libgomp.mk
+++ b/src/libgomp.mk
@@ -28,7 +28,11 @@ define $(PKG)_BUILD
# TODO: find a way to fix this in configure stage
$(if $(BUILD_SHARED), \
- mv '$(PREFIX)/bin/'libgomp*.dll '$(PREFIX)/$(TARGET)/bin/')
+ mv '$(PREFIX)/bin/'libgomp*.dll '$(PREFIX)/$(TARGET)/bin/'; \
+ cp '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'libgomp.dll.a \
+ '$(PREFIX)/$(TARGET)/lib/'; \
+ cp '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'libgomp.la \
+ '$(PREFIX)/$(TARGET)/lib/')
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \