aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile.solaris-lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile.solaris-lib')
-rw-r--r--lib/Makefile.solaris-lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.solaris-lib b/lib/Makefile.solaris-lib
index df4f8ada..b75c20e1 100644
--- a/lib/Makefile.solaris-lib
+++ b/lib/Makefile.solaris-lib
@@ -25,8 +25,8 @@ image: $(ELF_LIB)
$(ELF_LIB): $(OBJS)
@echo " GEN_ELF_SOLIB $(ELF_LIB)"
- @(cd elfshared; $(CC) --shared -o $(ELF_LIB) -Wl,-h,$(ELF_SONAME) \
- $(OBJS) $(ELF_OTHER_LIBS))
+ @(cd elfshared; $(CC) --shared -o $(ELF_LIB) $(LDFLAGS) \
+ -Wl,-h,$(ELF_SONAME) $(OBJS) $(ELF_OTHER_LIBS))
@$(MV) elfshared/$(ELF_LIB) .
@$(RM) -f ../$(ELF_LIB) ../$(ELF_IMAGE).so ../$(ELF_SONAME)
@$(LN) $(ELF_LIB) ../$(ELF_LIB)