diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2008-07-12 10:04:44 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2008-07-12 10:25:40 -0700 |
commit | 3b8081603bf846285e56a6ecafaf182935fd8733 (patch) | |
tree | 150f5908cdcc678808da1e110ec68206b68cafe9 /src/egl/main/Makefile | |
parent | db072baaaf6adcd176ea7e4d67b77177de7eca31 (diff) | |
download | external_mesa3d-3b8081603bf846285e56a6ecafaf182935fd8733.zip external_mesa3d-3b8081603bf846285e56a6ecafaf182935fd8733.tar.gz external_mesa3d-3b8081603bf846285e56a6ecafaf182935fd8733.tar.bz2 |
Always pass -linker and -ldflags to mklib for shared libraries
This just makes the use of mklib more consistent throughout Mesa where
we always want to pass the linker and LDFLAGS when we might be making a
shared library.
Diffstat (limited to 'src/egl/main/Makefile')
-rw-r--r-- | src/egl/main/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile index 40732fe..7ab7819 100644 --- a/src/egl/main/Makefile +++ b/src/egl/main/Makefile @@ -46,7 +46,8 @@ default: depend library library: $(TOP)/$(LIB_DIR)/libEGL.so $(TOP)/$(LIB_DIR)/libEGL.so: $(OBJECTS) - $(MKLIB) -o EGL -ldflags '$(LDFLAGS)' -major 1 -minor 0 \ + $(MKLIB) -o EGL -linker '$(CC)' -ldflags '$(LDFLAGS)' \ + -major 1 -minor 0 \ -install $(TOP)/$(LIB_DIR) -ldl $(OBJECTS) |