summaryrefslogtreecommitdiff
path: root/src/gbm/backends/Makefile.template
diff options
context:
space:
mode:
Diffstat (limited to 'src/gbm/backends/Makefile.template')
-rw-r--r--src/gbm/backends/Makefile.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gbm/backends/Makefile.template b/src/gbm/backends/Makefile.template
index 448dd77d964..1c8f924909e 100644
--- a/src/gbm/backends/Makefile.template
+++ b/src/gbm/backends/Makefile.template
@@ -26,7 +26,7 @@ $(GBM_BACKEND_PATH): $(GBM_BACKEND).so
$(GBM_BACKEND).so: $(GBM_OBJECTS) Makefile $(TOP)/src/gbm/backends/Makefile.template
@$(MKLIB) -o $(GBM_BACKEND).so -noprefix \
- -linker '$(CC)' -ldflags '-L$(TOP)/src/gbm/.libs $(LDFLAGS)' \
+ -linker '$(CC)' -ldflags '-L$(TOP)/$(LIB_DIR) $(LDFLAGS)' \
$(MKLIB_OPTIONS) \
$(GBM_OBJECTS) $(GBM_LIBS) -lgbm