Fix APXS error "cannot determine bootstrap symbol name"
authorDennis Schridde <dennis.schridde@uni-heidelberg.de>
Tue, 12 Apr 2016 17:01:30 +0000 (19:01 +0200)
committerSimo Sorce <simo@redhat.com>
Tue, 12 Apr 2016 22:17:29 +0000 (18:17 -0400)
Maybe related to out-of-source builds?

```
test -d /target/usr/lib/apache2/modules || mkdir -p /target/usr/lib/apache2/modules
/usr/bin/apxs2 -i -S LIBEXECDIR=/target/usr/lib/apache2/modules mod_auth_gssapi.la
apxs:Error: Sorry, cannot determine bootstrap symbol name.
apxs:Error: Please specify one with option `-n'.
Makefile:725: recipe for target 'install-exec-local' failed
```

Reviewed-by: Simo Sorce <simo@redhat.com>
Close #79

src/Makefile.am

index d43897b..86b13e9 100644 (file)
@@ -21,7 +21,7 @@ mod_auth_gssapi_la_LDFLAGS = \
 
 install-exec-local:
        test -d $(DESTDIR)$(APXS_LIBEXECDIR) || mkdir -p $(DESTDIR)$(APXS_LIBEXECDIR)
-       @APXS@ -i -S LIBEXECDIR=$(DESTDIR)$(APXS_LIBEXECDIR) mod_auth_gssapi.la
+       @APXS@ -i -n mod_auth_gssapi -S LIBEXECDIR=$(DESTDIR)$(APXS_LIBEXECDIR) mod_auth_gssapi.la
 
 clean-local:
        rm -f mod_auth_gssapi.slo mod_auth_gssapi.la mod_auth_gssapi.lo .libs