proper library versioning?
proper library versioning?
- Subject: proper library versioning?
- From: Shawn Protsman <email@hidden>
- Date: Thu, 10 Apr 2008 13:04:24 -0700
I'm porting some libraries to OS X and am a little confused about
library versioning. In linux, I'd simply do something like this:
$(CC) -shared -Wl,-O1 -Wl,-soname,$(PROG).so.$(VERSIONMAJOR)
The end result would be 'libprog.so.1.3.5'.
I've moved my source into Xcode but have no idea where to get the
dylib versioning setup, or if it is equivalent in the OS X world. When
I look at /usr/local/lib MacFUSE libs I see this:
<snip>
lrwxr-xr-x 1 root wheel 15B Mar 13 21:06 libfuse.0.0.0.dylib@ ->
libfuse.0.dylib
-rwxr-xr-x 1 root wheel 307K Jan 8 18:04 libfuse.0.dylib*
0.0.0? If anyone can point me to a doc that describes this and where
to set "versioning" for my lib in Xcode I'd appreciate it. Or, if you
just want to clue me that would be great too ;-).
I'm using Xcdoe 3.0 (OS 10.5.2).
--Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden