Skip to content

Commit

Permalink
make: Use LOCALBASE instead of hardcoding /usr/pkg for NetBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleysepos committed Feb 19, 2020
1 parent 970f295 commit b110854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make/variant/netbsd.defs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ GCC.args.g.max = -g3
GCC.MAJOR_VERSION = $(shell $(GCC.gcc) -dumpversion | cut -f 1 -d .)
GCC.LDFLAGS =
LDFLAGS += $(if $(findstring gcc, $(GCC.gcc)), $(GCC.LDFLAGS), )
LDFLAGS += -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
LDFLAGS += -L$(LOCALBASE)/lib -Wl,-R$(LOCALBASE)/lib

0 comments on commit b110854

Please sign in to comment.