Source: openssn
Version: 1.4-2
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

openssn fails to cross build from source, because a bad makefile
dependency causes make install to relink the main binary.
dh_auto_install (unlike dh_auto_build) does not pass cross tools to
make, so this step fails. The attached patch corrects the dependency and
makes openssn cross buildable. Please consider applying it.

Helmut
--- openssn-1.4.orig/src/Makefile
+++ openssn-1.4/src/Makefile
@@ -17,6 +17,7 @@
 .o:
 	$(CXX) $(CLFAGS) $< -o $@
 
-all: $(OBJS)
+all: $(SSN)
+$(SSN): $(OBJS)
 	$(CXX) $(OBJS) $(LIBS) -o $(SSN)
 

Reply via email to