Skip to content

Commit

Permalink
adb: Compile as static bin so it can work under alpine and postmarketos
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Feb 11, 2024
1 parent bbce086 commit 3b67f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ CFLAGS= $(OPT_CFLAGS) $(LOCAL_CFLAGS) $(LOCAL_INCLUDES)
all: $(LOCAL_MODULE)

$(LOCAL_MODULE): $(OBJS)
${CXX} -fPIC $(CXXFLAGS) $^ -L. -L ../libcutils/*.o ../base/*.o -lpthread -lresolv -lutil -o $@
${CXX} -fPIC $(CXXFLAGS) $^ -L. -L ../libcutils/*.o ../base/*.o -lpthread -lresolv -lutil -static -o $@
#g++ -fPIC $(CXXFLAGS) $^ -L ../libcutils/*.o ../base/*.o ../libcrypto_utils/*.o -lpthread -lresolv -lcrypto -lssl -lutil -o $@

clean:
Expand Down

0 comments on commit 3b67f66

Please sign in to comment.