Skip to content
This repository has been archived by the owner on Jul 14, 2018. It is now read-only.

Commit

Permalink
Merge pull request #6 from moovweb/use-absolute-path-cgo
Browse files Browse the repository at this point in the history
use SRCDIR to resolve absolute path
  • Loading branch information
beyondbill committed Feb 24, 2016
2 parents c4e9234 1fe5c01 commit cb849ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regex.go
Original file line number Diff line number Diff line change
@@ -1,8 1,8 @@
package rubex

/*
#cgo CFLAGS: -I../../../../../clibs/include
#cgo LDFLAGS: -L../../../../../clibs/lib -lonig
#cgo CFLAGS: -I${SRCDIR}/../../../../../clibs/include
#cgo LDFLAGS: -L${SRCDIR}/../../../../../clibs/lib -lonig
#include <stdlib.h>
#include <oniguruma.h>
#include "chelper.h"
Expand Down

0 comments on commit cb849ac

Please sign in to comment.