1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: Force the use of the system libsass shared library
Author: Anthony Fok <foka@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2018-06-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/libs/wrap_dev.go
+++ b/libs/wrap_dev.go
@@ -1,5 +1,3 @@
-// +build dev
-
package libs
// #cgo CPPFLAGS: -DUSE_LIBSASS
--- a/libs/wrap_main.go
+++ /dev/null
@@ -1,11 +0,0 @@
-// +build !dev
-
-package libs
-
-// #cgo CFLAGS: -O2 -fPIC
-// #cgo CPPFLAGS: -I../libsass-build -I../libsass-build/include
-// #cgo CXXFLAGS: -g -std=c++0x -O2 -fPIC
-// #cgo LDFLAGS: -lstdc++ -lm
-// #cgo darwin linux LDFLAGS: -ldl
-//
-import "C"
|