Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mattyclarkson
Copy link
Contributor

This changes the installation of the libraries to have version numbered
symlinks on systems that support it. The install changes from:

installation/
└── lib
    ├── libh2o-evloop.so
    ├── libh2o.so
    └── pkgconfig
        ├── libh2o-evloop.pc
        └── libh2o.pc

Into:

installation/
└── lib
    ├── libh2o-evloop.so -> libh2o-evloop.so.0.9
    ├── libh2o-evloop.so.0.9 -> libh2o-evloop.so.0.9.22
    ├── libh2o-evloop.so.0.9.22
    ├── libh2o.so -> libh2o.so.0.9
    ├── libh2o.so.0.9 -> libh2o.so.0.9.22
    ├── libh2o.so.0.9.22
    └── pkgconfig
        ├── libh2o-evloop.pc
        └── libh2o.pc

This changes the installation of the libraries to have version numbered
symlinks on systems that support it. The install changes from:

```
installation/
└── lib
    ├── libh2o-evloop.so
    ├── libh2o.so
    └── pkgconfig
        ├── libh2o-evloop.pc
        └── libh2o.pc
```

Into:

```
installation/
└── lib
    ├── libh2o-evloop.so -> libh2o-evloop.so.0.9
    ├── libh2o-evloop.so.0.9 -> libh2o-evloop.so.0.9.22
    ├── libh2o-evloop.so.0.9.22
    ├── libh2o.so -> libh2o.so.0.9
    ├── libh2o.so.0.9 -> libh2o.so.0.9.22
    ├── libh2o.so.0.9.22
    └── pkgconfig
        ├── libh2o-evloop.pc
        └── libh2o.pc
```
@kazuho
Copy link
Member

kazuho commented Feb 22, 2016

Thank you for the PR. Looks great!

note to myself: from now on, until libh2o reaches 1.0.0, we should update the minor part of the version number when we break backward compatibility. Or else if we make a release without breaking the compatibility of the library, then the patch part should be updated.

kazuho added a commit that referenced this pull request Feb 22, 2016
@kazuho kazuho merged commit 909b4cb into h2o:master Feb 22, 2016
kazuho added a commit that referenced this pull request Mar 2, 2016
Support library versions
Conflicts:
	CMakeLists.txt
kazuho added a commit that referenced this pull request Jun 1, 2016
Also updates the minor part of the library version to indicate breaking change in the library API due to #875 (see #794 for the numbering rule).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants