Build fixes for non-Windows
[moonshot.git] / builder
diff --git a/builder b/builder
index d0414d9..0b45f46 100755 (executable)
--- a/builder
+++ b/builder
@@ -126,9 +126,11 @@ prefix = options.prefix
 root_command = options.root_command
 configure_opts = ['--prefix', prefix,
                   "LDFLAGS='-Wl,-L"+prefix+"/lib -Wl,-L/usr/lib/freeradius"
-                  + " -Wl,-R"+prefix+"/lib'",
+                  + " -Wl,-rpath="+prefix+"/lib'",
                   'CPPFLAGS="-I '+prefix+'/include"',
                   '--with-system-libtool', '--with-system-libltdl',
+                  '--enable-tls', '--with-gssapi='+prefix,
+                  "--with-xmltooling="+prefix, 
                   ]
 if options.configure_opts is not None: 
     configure_opts.extend(options.configure_opts)