libgomp: install libtool archive and import lib to standard locations

Fixes graphicsmagick on shared

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Timothy Gu 2014-09-26 08:39:55 -07:00
parent aa5b86b3c0
commit 8ae279752e
1 changed files with 5 additions and 1 deletions

View File

@ -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 \