Solaris fixes.
authorAndre Noll <maan@systemlinux.org>
Fri, 6 Jun 2008 13:49:56 +0000 (15:49 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 6 Jun 2008 13:49:56 +0000 (15:49 +0200)
Makefile

index b42b1a9413a7194582139307f57857de11871ab2..cc4447890f6ddbc5dcb65f23b4ed9109e81fc3c4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -86,8 +86,11 @@ ifeq ($(uname_s),SunOS)
        LDFLAGS += --shared
        LDFLAGS += -z text
        LDFLAGS += -z defs
-       realname := lib$(libname).so.$(major_version).$(minor_version).$(patchlevel_version)
+       soname := lib$(libname).so.$(x)
+       realname := $(soname).$(y).$(z)
+       linkername := lib$(libname).so
        CPPFLAGS += -I/opt/csw/include
+       LDFLAGS += -lc
 endif
 
 all: $(realname) oslfsck