Static build generates broken symlinks

GitHub issues - opened github at alsa-project.org
Sat Aug 28 14:04:55 CEST 2021


alsa-project/alsa-plugins issue #34 was opened from daravi:

Hello,

This snippet seems to generate some symlinks:
```
install-exec-hook:
	rm -f $(DESTDIR)@ALSA_PLUGIN_DIR@/libasound_module_rate_speexrate_*.so
	$(LN_S) libasound_module_rate_speexrate.so $(DESTDIR)@ALSA_PLUGIN_DIR@/libasound_module_rate_speexrate_best.so
	$(LN_S) libasound_module_rate_speexrate.so $(DESTDIR)@ALSA_PLUGIN_DIR@/libasound_module_rate_speexrate_medium.so
```

But it assumes we are doing a shared build. Which results in broken symlinks in a static build.

Issue URL     : https://github.com/alsa-project/alsa-plugins/issues/34
Repository URL: https://github.com/alsa-project/alsa-plugins


More information about the Alsa-devel mailing list