#27 slbt_exec_install_entry(): Allow using both -release and -version-info.
Closed 3 years ago by orbea. Opened 3 years ago by orbea.
cross/ orbea/slibtool release  into  main

@@ -337,7 +337,6 @@ 

  	char		lasource[PATH_MAX - 8];

  	bool		fexe = false;

  	bool		fpe;

- 	bool		frelease;

  	struct stat	st;

  

  	/* executable wrapper? */
@@ -407,7 +406,6 @@ 

  

  	/* libfoo.a --> libfoo.so.release */

  	sprintf(dot,"%s.release",dctx->cctx->settings.dsosuffix);

- 	frelease = stat(slnkname,&st) ? false : true;

  

  	/* libfoo.a --> libfoo.so */

  	strcpy(dot,dctx->cctx->settings.dsosuffix);
@@ -487,9 +485,6 @@ 

  			false))

  		return SLBT_NESTED_ERROR(dctx);

  

- 	if (frelease)

- 		return 0;

- 

  	/* libfoo.so.x --> libfoo.so.x.y.z */

  	strcpy(slnkname,target);

  

Fixes https://dev.midipix.org/cross/slibtool/issue/26

I'm not sure this is entirely right? But it installs the same files as GNU libtool with libyaml which is the desired behavior.

Pull-Request has been closed by orbea

3 years ago
Metadata