Don't use -Wl, for -L in builder
[moonshot.git] / builder
diff --git a/builder b/builder
index 9a924ca..ca68995 100755 (executable)
--- a/builder
+++ b/builder
@@ -148,11 +148,12 @@ prefix = options.prefix
 root_command = options.root_command
 dist = options.dist
 configure_opts = ['--prefix', prefix,
-                  "LDFLAGS=-Wl,-L"+prefix+"/lib -Wl,-rpath="+prefix+"/lib",
+                  "LDFLAGS=-L"+prefix+"/lib -Wl,-rpath="+prefix+"/lib",
                   'CPPFLAGS=-I '+prefix+'/include',
                   '--with-system-libtool', '--with-system-libltdl',
                   '--enable-tls', '--with-gssapi='+prefix,
                   "--with-xmltooling="+prefix, 
+                  '--with-systemdsystemunitdir=' + prefix+'/lib/systemd',
                   ]
 if options.configure_opts is not None: 
     configure_opts.extend(options.configure_opts)