Skip to content

Commit

Permalink
Use $(AR) instead of hardcoding ar tool
Browse files Browse the repository at this point in the history
Single change needed to successfully cross-compile on macOS to FreeBSD.
  • Loading branch information
Keve authored and bapt committed Jan 7, 2025
1 parent e59b844 commit 903ec3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpkg/Makefile.autosetup
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ lib$(LIB)_flat.a: $(STATIC_LIBS)
libtool -static -o lib$(LIB)_flat.a $(STATIC_LIBS)
@else
lib$(LIB)_flat.a: ${STATIC_LIBS} mergelib_script
ar -M < mergelib_script
$(AR) -M < mergelib_script
@endif

mergelib_script: $(STATIC_LIBS)
Expand Down

0 comments on commit 903ec3e

Please sign in to comment.