Skip to content

Commit 0c2283f

Browse files
authored
Merge pull request #195 from oracle/v0.3
prep v.0.3.1
2 parents 3865ed0 + cea624f commit 0c2283f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ifeq ($(BPFTUNE_VERSION),)
5656
BPFTUNE_VERSION := $(KERNEL_REL)-$(GIT_SHA)
5757
endif
5858

59-
VERSION = 0.2.1
59+
VERSION = 0.3.1
6060
VERSION_SCRIPT := libbpftune.map
6161

6262
CFLAGS = -fPIC -Wall -Wextra -g -I../include -std=c99
@@ -173,8 +173,7 @@ $(OPATH)libbpftune.so: libbpftune.c $(BPFTUNE_HDRS) $(OPATH)libbpftune.o
173173
-shared -o $(@).$(VERSION) \
174174
$(patsubst %.so,%.o,$(@)) \
175175
$(LDLIBS) $(LDFLAGS) ; \
176-
rm -f $(@) ; \
177-
ln -sr $(@).$(VERSION) $(@)
176+
ln -fsr $(@).$(VERSION) $(@)
178177

179178
$(TUNER_OBJS): $(BPF_SKELS) $(LEGACY_BPF_SKELS) $(NOBTF_BPF_SKELS)
180179

0 commit comments

Comments
 (0)