Skip to content

Commit d511a7b

Browse files
authored
Merge pull request #3191 from martin-frbg/issue3188
Delay creation of the (soft)link until after the library has been built
2 parents adcfe7b + 0608bc5 commit d511a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ ifeq ($(NO_SHARED), 1)
167167
$(error OpenBLAS: neither static nor shared are enabled.)
168168
endif
169169
endif
170-
@-ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
171170
@for d in $(SUBDIRS) ; \
172171
do if test -d $$d; then \
173172
$(MAKE) -C $$d $(@F) || exit 1 ; \
@@ -196,6 +195,7 @@ endif
196195
ifdef USE_THREAD
197196
@echo USE_THREAD=$(USE_THREAD) >> Makefile.conf_last
198197
endif
198+
@-ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
199199
@touch lib.grd
200200

201201
prof : prof_blas prof_lapack

0 commit comments

Comments
 (0)