Skip to content

Commit

Permalink
Merge pull request festvox#60 from Mindavi/feature/improve-cross-comp…
Browse files Browse the repository at this point in the history
…ile-support

common_make_rules: use $(AR) instead of the native ar command
  • Loading branch information
festvox authored Feb 10, 2022
2 parents 76bde28 + 54c6516 commit 8a84cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/common_make_rules
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ $(LIBDIR)/%.so: $(LIBDIR)/%.shared.a
@ echo making $@
@ rm -rf shared_os && mkdir shared_os
@ rm -f $@ $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
@ (cd shared_os && ar x ../$<)
@ (cd shared_os && $(AR) x ../$<)
@ (cd shared_os && $(CC) -shared -Wl,-soname,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os $(LDFLAGS))
@ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_VERSION}` `basename $@.${PROJECT_SHLIB_VERSION}` )
@ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_SHLIB_VERSION}` `basename $@` )
Expand Down

0 comments on commit 8a84cfa

Please sign in to comment.