Skip to content

Commit

Permalink
Make C files in the root package symlinks again
Browse files Browse the repository at this point in the history
These used to be links but were unintentionally replaced by full copies
in 1588875.

There seems to be no way around this symlink, as CGO will only compile C
files that are in the same directory as the package it's compiling.
  • Loading branch information
mvdan committed May 2, 2017
1 parent 9694268 commit b77af48
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 5,370 deletions.
2 changes: 0 additions & 2 deletions coprocess_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ package main
/*
#include <stdio.h>
#include "coprocess/sds/sds.h"
#include "coprocess/api.h"
#ifdef ENABLE_PYTHON
Expand Down
2 changes: 0 additions & 2 deletions coprocess_lua.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ package main
#include <stdlib.h>
#include <string.h>
#include "coprocess/sds/sds.h"
#include "coprocess/api.h"
#include "coprocess/lua/binding.h"
Expand Down
2 changes: 0 additions & 2 deletions coprocess_native.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ package main
#include <stdio.h>
#include <stdlib.h>
#include "coprocess/sds/sds.h"
#include "coprocess/api.h"
#ifdef ENABLE_PYTHON
Expand Down
Loading

0 comments on commit b77af48

Please sign in to comment.