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 b42b1a9..cc44478 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