diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-08-16 00:39:11 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-08-16 01:07:22 (GMT) |
commit | b16d891ed3ea987589e1af745be69b178db3122e (patch) | |
tree | 305a30cb9524fc05ff7dfb6c7017b352f7794de2 | |
parent | 207e2e1f443a613fa8c4f94de0cf6259ffd44a5e (diff) | |
download | mxe-b16d891ed3ea987589e1af745be69b178db3122e.zip mxe-b16d891ed3ea987589e1af745be69b178db3122e.tar.gz mxe-b16d891ed3ea987589e1af745be69b178db3122e.tar.bz2 |
libgomp: fix DLL install dir
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r-- | src/libgomp.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libgomp.mk b/src/libgomp.mk index 54eaa5b..c5e2b09 100644 --- a/src/libgomp.mk +++ b/src/libgomp.mk @@ -26,6 +26,10 @@ define $(PKG)_BUILD ac_cv_prog_FC='$(TARGET)-gfortran' $(MAKE) -C '$(1).build' -j '$(JOBS)' install + # TODO: find a way to fix this in configure stage + $(if BUILD_SHARED, \ + mv '$(PREFIX)/bin/'libgomp*.dll '$(PREFIX)/$(TARGET)/bin/') + '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libgomp.exe' \ |