Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
  • Loading branch information
geofjamg committed Nov 2, 2023
1 parent 7469bf7 commit 1dd696d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
*/
package com.powsybl.python.commons;

import com.oracle.svm.core.c.ProjectHeaderFile;
import org.graalvm.nativeimage.c.CContext;

import java.util.Collections;
import java.util.List;

/**
Expand All @@ -17,6 +19,6 @@ public class Directives implements CContext.Directives {

@Override
public List<String> getHeaderFiles() {
return List.of("<pypowsybl-api.h>");
return Collections.singletonList(ProjectHeaderFile.resolve("com.powsybl.python", "pypowsybl-api.h"));
}
}

0 comments on commit 1dd696d

Please sign in to comment.