diff options
author | LKedward <laurence.kedward@bristol.ac.uk> | 2020-11-07 14:04:00 +0000 |
---|---|---|
committer | LKedward <laurence.kedward@bristol.ac.uk> | 2020-11-07 14:04:00 +0000 |
commit | 00c75b4dbaa19a15d3f0e92ff9dbacf8b334a2bf (patch) | |
tree | bb975f9b164390b696f56755496aed94e4a9d610 | |
parent | 6a2d6e798703bb88dd4ab3b7a8bf643e55724a88 (diff) | |
download | fpm-00c75b4dbaa19a15d3f0e92ff9dbacf8b334a2bf.tar.gz fpm-00c75b4dbaa19a15d3f0e92ff9dbacf8b334a2bf.zip |
Use path to archive file for linking
-rw-r--r-- | fpm/src/fpm_backend.f90 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fpm/src/fpm_backend.f90 b/fpm/src/fpm_backend.f90 index e8f51cc..f70f477 100644 --- a/fpm/src/fpm_backend.f90 +++ b/fpm/src/fpm_backend.f90 @@ -33,8 +33,7 @@ subroutine build_package(model) end if if (model%targets(1)%ptr%target_type == FPM_TARGET_ARCHIVE) then - linking = ' -l'//model%package_name//" -L"//& - join_path(model%output_directory,model%package_name) + linking = " "//model%targets(1)%ptr%output_file else linking = " " end if |