summaryrefslogtreecommitdiff
path: root/homebrew/sqliteodbc/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/sqliteodbc/.make.sh-auto')
-rw-r--r--homebrew/sqliteodbc/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/sqliteodbc/.make.sh-auto b/homebrew/sqliteodbc/.make.sh-auto
new file mode 100644
index 000000000..e7d7ffd6d
--- /dev/null
+++ b/homebrew/sqliteodbc/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV["SDKROOT"] = MacOS.sdk_path if MacOS.version == :sierra
+lib.mkdir
+pkg:configure --with-odbc=#{Formula[unixodbc"].opt_prefix}" --with-sqlite3=#{Formula[sqlite"].opt_prefix}"
+make
+make DESTDIR=${PKG_DEST} install
+lib.install_symlink "#{lib}/libsqlite3odbc.dylib" => "libsqlite3odbc.so"