diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/wrapper_macros.GNU | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/include/makeinclude/wrapper_macros.GNU b/include/makeinclude/wrapper_macros.GNU index c0d0189fcc7..0dc72945410 100644 --- a/include/makeinclude/wrapper_macros.GNU +++ b/include/makeinclude/wrapper_macros.GNU @@ -153,21 +153,20 @@ ifdef shared_libs_only ifeq ($(SHLIB),) #### Makefile only specifies static libs, so only build static libs. else - #### don't build static objects: - BUILD = $(VSHLIB) $(SHLIBA) $(VBIN) - LIB = - OBJDIRS = .shobj - SHOBJ = $(addsuffix .$(SOEXT),$(FILES)) - VDIR = + #### Don't build static objects: + BUILD = $(VSHLIB) $(SHLIBA) $(VBIN) + LIB = + ifeq ($(BIN),) + OBJDIRS = .shobj + endif # BIN endif # SHLIB else ifdef static_libs_only - #### don't build shared objects: + #### Don't build shared objects: BUILD = $(VLIB) $(VBIN) OBJDIRS = .obj PIC = SHLIB = - SHOBJ = $(addsuffix .o,$(FILES)) SOEXT = o VSHDIR = .obj/ VLDLIBS = $(LDLIBS:%.so=%.o) |