Commit b2e0c36d2d2f782c1ab3efb4812b43303d686b4d
1 parent
adf8e7f2
Exists in
develop
Better libname in macos.
Showing
2 changed files
with
9 additions
and
2 deletions
Show diff stats
Makefile.in
@@ -314,7 +314,7 @@ install-macos-lib: \ | @@ -314,7 +314,7 @@ install-macos-lib: \ | ||
314 | 314 | ||
315 | @$(INSTALL_PROGRAM) \ | 315 | @$(INSTALL_PROGRAM) \ |
316 | $(BINRLS)/$(SONAME) \ | 316 | $(BINRLS)/$(SONAME) \ |
317 | - $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@ | 317 | + $(DESTDIR)$(libdir)/$(SONAME) |
318 | 318 | ||
319 | install-windows-lib: \ | 319 | install-windows-lib: \ |
320 | strip \ | 320 | strip \ |
@@ -399,6 +399,13 @@ install-linux-dev: | @@ -399,6 +399,13 @@ install-linux-dev: | ||
399 | 399 | ||
400 | install-macos-dev: | 400 | install-macos-dev: |
401 | 401 | ||
402 | + @$(MKDIR) \ | ||
403 | + $(DESTDIR)$(libdir) | ||
404 | + | ||
405 | + @$(LN_S) \ | ||
406 | + $(SONAME) \ | ||
407 | + $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@ | ||
408 | + | ||
402 | 409 | ||
403 | install-windows-dev: \ | 410 | install-windows-dev: \ |
404 | $(BINRLS)/$(SONAME) \ | 411 | $(BINRLS)/$(SONAME) \ |
configure.ac
@@ -509,7 +509,7 @@ case "$host" in | @@ -509,7 +509,7 @@ case "$host" in | ||
509 | ;; | 509 | ;; |
510 | 510 | ||
511 | *-apple-darwin*) | 511 | *-apple-darwin*) |
512 | - AC_SUBST(SONAME,lib$app_cv_libname.dylib.$app_vrs_major.$app_vrs_minor) | 512 | + AC_SUBST(SONAME,lib$app_cv_libname-$app_vrs_major.$app_vrs_minor.dylib) |
513 | ;; | 513 | ;; |
514 | 514 | ||
515 | *) | 515 | *) |