Skip to content

Commit ae6a7df

Browse files
committed
Use standard variable name for linker flags
1 parent 6b39c2b commit ae6a7df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ ifeq ($(OS),Darwin)
138138
# Pick up OSXFUSE, even with pkg-config from MacPorts
139139
PKG_CONFIG := PKG_CONFIG_PATH=/usr/local/lib/pkgconfig $(PKG_CONFIG)
140140
else ifeq ($(OS),Linux)
141-
LFLAGS += -Wl,-rpath=$(shell $(PKG_CONFIG) fuse --variable=libdir)
141+
LDFLAGS += -Wl,-rpath=$(shell $(PKG_CONFIG) fuse --variable=libdir)
142142
endif
143143

144144
FUSE_CFLAGS := $(shell $(PKG_CONFIG) fuse --cflags)
@@ -148,7 +148,7 @@ FUSE_LDFLAGS := $(shell $(PKG_CONFIG) fuse --libs)
148148
$(CXX) -c $< -o $@ $(CFLAGS) $(ARCH_FLAGS) $(FUSE_CFLAGS) $(DEFINES)
149149

150150
$(TARGET): sparsebundlefs.o
151-
$(CXX) $< -o $@ $(LFLAGS) $(ARCH_FLAGS) $(FUSE_LDFLAGS)
151+
$(CXX) $< -o $@ $(LDFLAGS) $(ARCH_FLAGS) $(FUSE_LDFLAGS)
152152

153153
SPARSEBUNDLEFS=$(abspath $(TARGET))
154154
export SPARSEBUNDLEFS

0 commit comments

Comments
 (0)