diff options
author | Jon TURNEY <[email protected]> | 2010-08-30 12:41:16 +0100 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-30 13:41:39 -0700 |
commit | e637f8b40c426d6ae79e0215fa8865d50326812f (patch) | |
tree | b78741ce6a3347f36234d8d1d9f182defbd85acb /src/mesa/drivers/osmesa | |
parent | 6356303de63c170a63c35f2b1edec76d9f8eba45 (diff) |
Add talloc to osmesa library dependencies
also link osmesa with C++ standard libraries, as it now contains C++ code
Signed-off-by: Jon TURNEY <[email protected]>
Diffstat (limited to 'src/mesa/drivers/osmesa')
-rw-r--r-- | src/mesa/drivers/osmesa/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/osmesa/Makefile b/src/mesa/drivers/osmesa/Makefile index 091e6f66d9b..39ab09af805 100644 --- a/src/mesa/drivers/osmesa/Makefile +++ b/src/mesa/drivers/osmesa/Makefile @@ -36,9 +36,9 @@ default: $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME) # sources. We can also build libOSMesa16/libOSMesa32 by setting # -DCHAN_BITS=16/32. $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME): $(OBJECTS) $(CORE_MESA) - $(MKLIB) -o $(OSMESA_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \ + $(MKLIB) -o $(OSMESA_LIB) -linker '$(CXX)' -ldflags '$(LDFLAGS)' \ -major $(MESA_MAJOR) -minor $(MESA_MINOR) -patch $(MESA_TINY) \ - -install $(TOP)/$(LIB_DIR) $(MKLIB_OPTIONS) \ + -install $(TOP)/$(LIB_DIR) -cplusplus $(MKLIB_OPTIONS) \ -id $(INSTALL_LIB_DIR)/lib$(OSMESA_LIB).$(MESA_MAJOR).dylib \ $(OSMESA_LIB_DEPS) $(OBJECTS) $(CORE_MESA) |