diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-01-24 09:24:06 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-01-24 10:00:52 +0100 |
commit | 90e256853418eaaba3717f930cc6a331e4099056 (patch) | |
tree | bff7663d6b2166dbe1c35f5ae99baf27035373f1 /src/gbm/backends | |
parent | 5a84cc4ebcc99fb029d5f855e8afa11fab09266a (diff) | |
download | external_mesa3d-90e256853418eaaba3717f930cc6a331e4099056.zip external_mesa3d-90e256853418eaaba3717f930cc6a331e4099056.tar.gz external_mesa3d-90e256853418eaaba3717f930cc6a331e4099056.tar.bz2 |
egl,gbm_gallium: Fix linkage against gbm from automake
Add src/gbm/.libs to ldflags.
The gbm lib is src/gbm/.libs/ instead of lib/
as of commit 06ad64ad29e7aa9e2d001f6bd1f8c1c1f77050b8.
Diffstat (limited to 'src/gbm/backends')
-rw-r--r-- | src/gbm/backends/Makefile.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gbm/backends/Makefile.template b/src/gbm/backends/Makefile.template index 851e5c5..f0f1823 100644 --- a/src/gbm/backends/Makefile.template +++ b/src/gbm/backends/Makefile.template @@ -32,9 +32,9 @@ $(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)/$(LIB_DIR) $(LDFLAGS)' \ + -linker '$(CC)' -ldflags '-L$(TOP)/src/gbm/.libs $(LDFLAGS)' \ $(MKLIB_OPTIONS) \ - $(GBM_OBJECTS) $(GBM_LIBS) -l$(GBM_LIB) + $(GBM_OBJECTS) $(GBM_LIBS) -lgbm lib$(GBM_BACKEND).a: $(GBM_OBJECTS) Makefile $(TOP)/src/gbm/backends/Makefile.template @$(MKLIB) -o $(GBM_BACKEND) -static $(GBM_OBJECTS) |