From 7ed8bef03903673f81768f3fae3a1bdaa90453fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Fabbro?= Date: Thu, 6 Jul 2017 19:38:30 +0000 Subject: [PATCH] sci-astronomy/sofa_c: fixed patch for as-needed Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- sci-astronomy/sofa_c/files/sofa_c-makefile.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-astronomy/sofa_c/files/sofa_c-makefile.patch b/sci-astronomy/sofa_c/files/sofa_c-makefile.patch index 3a942e3bed927..00c1a6ae735d8 100644 --- a/sci-astronomy/sofa_c/files/sofa_c-makefile.patch +++ b/sci-astronomy/sofa_c/files/sofa_c-makefile.patch @@ -97,7 +97,7 @@ ar ru $(SOFA_LIB_NAME) $? +$(SOFA_SHLIB_NAME): $(SOFA_OBS) -+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(SOFA_SHLIB_NAME).0 -lm $? -o $(SOFA_SHLIB_NAME).0.0 ++ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(SOFA_SHLIB_NAME).0 $? -lm -o $(SOFA_SHLIB_NAME).0.0 + ln -sfn $(SOFA_SHLIB_NAME).0.0 $(SOFA_SHLIB_NAME).0 + # Install the header files.