mk/prog.mk: set proper target for bins.
Fixes build failure in aarch64-musl and cross compilation... weird it didn't fail on native.
This commit is contained in:
parent
70867bd774
commit
5098d03238
@ -46,12 +46,12 @@ endif
|
||||
@printf " [CC]\t\t$@\n"
|
||||
${SILENT}$(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) -c $<
|
||||
|
||||
$(BIN).static: $(OBJS) $(STATIC_LIBS)
|
||||
$(BIN).static: $(OBJS) $(TOPDIR)/lib/libxbps.a
|
||||
@printf " [CCLD]\t\t$@\n"
|
||||
${SILENT}$(CC) -static $(OBJS) $(CPPFLAGS) -L$(TOPDIR)/lib \
|
||||
$(CFLAGS) $(LDFLAGS) $(PROG_LDFLAGS) $(STATIC_LIBS) -o $@
|
||||
|
||||
$(BIN): $(OBJS)
|
||||
$(BIN): $(OBJS) $(TOPDIR)/lib/libxbps.so
|
||||
@printf " [CCLD]\t\t$@\n"
|
||||
${SILENT}$(CC) $^ $(CPPFLAGS) -L$(TOPDIR)/lib \
|
||||
$(CFLAGS) $(PROG_CFLAGS) $(LDFLAGS) $(PROG_LDFLAGS) \
|
||||
|
Loading…
Reference in New Issue
Block a user