build: Convert flac detection to new macros.
[paraslash.git] / Makefile.real
index 217d1a3ce8fa1f922343048f058a453f5fddd56f..269babaf0aa73db9acc9c7aa926f7a01b821a470 100644 (file)
@@ -51,7 +51,7 @@ play_objs := $(addprefix $(object_dir)/, $(play_objs))
 man_pages := $(patsubst %, $(man_dir)/%.1, $(prefixed_executables))
 
 autocrap := config.h.in configure
-tarball_pfx := $(PACKAGE_TARNAME)-$(shell git describe --dirty)
+tarball_pfx := $(PACKAGE_TARNAME)-$(GIT_VERSION)
 tarball_delete := $(addprefix $(tarball_pfx)/, web .gitignore)
 tarball := $(tarball_pfx).tar.bz2
 
@@ -272,8 +272,7 @@ para_server \
 para_client \
 para_audiod \
 :LDFLAGS += \
-       $(openssl_ldflags) \
-       $(gcrypt_ldflags)
+       $(crypto_ldflags)
 
 para_audiod \
 para_filter \