Skip to content

Commit

Permalink
loader: add libelf cflags
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Dec 22, 2024
1 parent 8e3c46c commit ea73223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fdpp/loader/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $(T)/$(FDPPLIB): $(OBJECTS)
$(CC_LD) -o $@ $^ $(LDFLAGS) $(LIBS)

$(OBJECTS): %.o: $(srcdir)/%.c $(addprefix $(srcdir)/,$(HEADERS)) $(srcdir)/makefile
$(CC) $(CFLAGS) -c -o $@ $<
$(CC) $(CFLAGS) $(shell $(PKG_CONFIG) --cflags libelf) -c -o $@ $<

clean:
$(RM) *.o

0 comments on commit ea73223

Please sign in to comment.