Skip to content
Browse files

Fixed shared library linker invocation.

  • Loading branch information...
1 parent dcfec54 commit 18084344f4a959e07b9f53b0a461da5da9ac3c6e @divegeek divegeek committed with Dec 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 makefiles/gcc/Makefile
View
2 makefiles/gcc/Makefile
@@ -28,7 +28,7 @@ OBJS = $(SRCS:.cpp=.o)
# dynamic lib rule
$(LIB): $(OBJS) $(LIBDIR)
- $(LD) $(LDFLAGS) -shared -soname,$(LIBNAME) -o $(LIB) $(OBJS)
+ $(LD) $(LDFLAGS) -shared -Wl,-soname,$(LIBNAME) -o $(LIB) $(OBJS)
# static lib rule
$(STATIC): $(OBJS) $(LIBDIR)

0 comments on commit 1808434

Please sign in to comment.
Something went wrong with that request. Please try again.